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
../../../../../../.pub-cache/hosted/pub.dev/file_saver-0.2.12/lib/src/utils/helpers.dart:59:21: Error: A value of type 'List' can't be returned from an async function with return type 'Future'.
'List' is from 'dart:core'.
'Future' is from 'dart:async'.
'Uint8List' is from 'dart:typed_data'.
return utf8.encode(response.data);
The text was updated successfully, but these errors were encountered:
I encountered the same problem, and upgrading the SDK to 3.19 solves the problem for me. My flutter doctor before I upgrade:
[√] Flutter (Channel stable, 3.13.9, on Microsoft Windows [Version 10.0.19045.4291], locale en-US)
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[√] Chrome - develop for the web
[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.8.3)
[√] Android Studio (version 2023.3)
[√] VS Code (version 1.89.0)
[√] Connected device (4 available)
[√] Network resources
../../../../../../.pub-cache/hosted/pub.dev/file_saver-0.2.12/lib/src/utils/helpers.dart:59:21: Error: A value of type 'List' can't be returned from an async function with return type 'Future'.
return utf8.encode(response.data);
The text was updated successfully, but these errors were encountered: