You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
web app, import amplify_storage_s3.dart cause drift-2.14.1/lib/src/web/wasm_setup/shared.dart The argument type 'LegacySyncFileHandle' can't be assigned to the parameter type 'Object' because 'LegacySyncFileHandle' is nullable and 'Object' isn't. #4874
After import 'package:amplify_storage_s3/amplify_storage_s3.dart' for a flutter web project, When run it , it cause an error: Waiting for connection from debug service on Chrome...
../../../AppData/Local/Pub/Cache/hosted/pub.dev/drift-2.14.1/lib/src/web/wasm_setup/shared.dart:40:47: Error: The argument type 'LegacySyncFileHandle' can't be assigned to the parameter type 'Object' because 'LegacySyncFileHandle' is nullable and 'Object' isn't.
'Object' is from 'dart:core'.
final getSizeResult = callMethod<Object?>(openedFile, 'getSize', []);
Categories
Analytics
API (REST)
API (GraphQL)
Auth
Authenticator
DataStore
Notifications (Push)
Storage
Steps to Reproduce
yaml add: amplify_flutter: 2.0.0 amplify_storage_s3: 2.0.0 aws_common: ^0.7.0 or 1.8.0 or 1.6.0,
import 'package:amplify_storage_s3/amplify_storage_s3.dart'; in dart file