Skip to content

issue #62 fix#63

Open
Faazlaeeq wants to merge 1 commit intorhymelph:masterfrom
Faazlaeeq:patch-1
Open

issue #62 fix#63
Faazlaeeq wants to merge 1 commit intorhymelph:masterfrom
Faazlaeeq:patch-1

Conversation

@Faazlaeeq
Copy link
Copy Markdown

Error:

/C:/Users/FaazLaeeq/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]);

Solution:

change line 38 from this:
SystemChrome.setEnabledSystemUIOverlays([SystemUiOverlay.top]);
to this:
SystemChrome.setEnabledSystemUIMode(SystemUiMode.manual,
overlays: [SystemUiOverlay.top]);

Error:

/C:/Users/FaazLaeeq/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]);
    
Solution:

change line 38 from this:
    SystemChrome.setEnabledSystemUIOverlays([SystemUiOverlay.top]);
to this:
SystemChrome.setEnabledSystemUIMode(SystemUiMode.manual,
        overlays: [SystemUiOverlay.top]);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant