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
Failed to compile application because of pub.dev/r_scan-0.1.6+1/lib/src/r_scan_view.dart:38:18: Error: Member not found: 'SystemChrome.setEnabledSystemUIOverlays'.
#58
Open
t-m-z opened this issue
May 13, 2023
· 2 comments
· May be fixed by #59
When trying to compile I receive this message:
_/C:/Users/thoma/AppData/Local/Pub/Cache/hosted/pub.dev/r_scan-0.1.6+1/lib/src/r_scan_view.dart:38:18: Error: Member not found: 'SystemChrome.setEnabledSystemUIOverlays'.
SystemChrome.setEnabledSystemUIOverlays([SystemUiOverlay.top]);
^^^^^^^^^^^^^^^^^^^^^^^^^^
Target kernel_snapshot failed: Exception
BUILD FAILED in 2m 19s
Exception: Gradle task assembleDebug failed with exit code 1_
Flutter doctor says: Flutter (Channel stable, 3.10.0, on Microsoft Windows [Version 10.0.22621.1702], locale en-DE)
• Flutter version 3.10.0 on channel stable at C:\Software\flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 84a1e904f4 (4 days ago), 2023-05-09 07:41:44 -0700
• Engine revision d44b5a94c9
• Dart version 3.0.0
• DevTools version 2.23.1
The text was updated successfully, but these errors were encountered:
When trying to compile I receive this message:
_/C:/Users/thoma/AppData/Local/Pub/Cache/hosted/pub.dev/r_scan-0.1.6+1/lib/src/r_scan_view.dart:38:18: Error: Member not found: 'SystemChrome.setEnabledSystemUIOverlays'.
SystemChrome.setEnabledSystemUIOverlays([SystemUiOverlay.top]);
^^^^^^^^^^^^^^^^^^^^^^^^^^
Target kernel_snapshot failed: Exception
FAILURE: Build failed with an exception.
Where:
Script 'C:\Software\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 1159
What went wrong:
Execution failed for task ':app:compileFlutterBuildDebug'.
BUILD FAILED in 2m 19s
Exception: Gradle task assembleDebug failed with exit code 1_
Flutter doctor says:
Flutter (Channel stable, 3.10.0, on Microsoft Windows [Version 10.0.22621.1702], locale en-DE)
• Flutter version 3.10.0 on channel stable at C:\Software\flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 84a1e904f4 (4 days ago), 2023-05-09 07:41:44 -0700
• Engine revision d44b5a94c9
• Dart version 3.0.0
• DevTools version 2.23.1
The text was updated successfully, but these errors were encountered: