Skip to content

Flutter 3.19.0 Update #21

@simeonangelov94

Description

@simeonangelov94

When updating flutter to 3.19.0 the app cannot compile anymore because of an Uint8List64() error. Please find the error below.

/.pub-cache/hosted/pub.dev/flutter_beep-1.0.0/android/src/main/java/com/gonoter/flutter_beep/FlutterBeepPlugin.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
../../../../../../.pub-cache/hosted/pub.dev/data_serializer-1.0.7/lib/src/platform_io.dart:14:35: Error: A value of type 'Uint8List Function()' can't be assigned to a variable of type 'Uint8List'.

  • 'Uint8List' is from 'dart:typed_data'.
    _maxSafeInt.toUint8List64().asUnmodifiableView;
    ^
    ../../../../../../.pub-cache/hosted/pub.dev/data_serializer-1.0.7/lib/src/platform_io.dart:17:35: Error: A value of type 'Uint8List Function()' can't be assigned to a variable of type 'Uint8List'.
  • 'Uint8List' is from 'dart:typed_data'.
    _minSafeInt.toUint8List64().asUnmodifiableView;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions