ATTENTION: DO NOT USE THIS FIELD TO ASK SUPPORT QUESTIONS. USE THE PLATFORM CHANNELS FOR THIS. THIS SPACE IS DEDICATED ONLY FOR BUGS DESCRIPTION.
Error: Type 'ui.Window' not found. on start up
Describe the bug
ui.Window get window => ui.window;
^^^^^^^^^
Reproduction code
NOTE: THIS IS MANDATORY, IF YOUR ISSUE DOES NOT CONTAIN IT, IT WILL BE CLOSED PRELIMINARY)
/C:/flutter/.pub-cache/hosted/pub.dartlang.org/get-3.17.1/lib/get_navigation/src/extension_navigation.dart:1047:3: Error: Type 'ui.Window' not found.
FAILURE: Build failed with an exception.
Doctor summary (to see all details, run flutter doctor -v):
[鈭歖 Flutter (Channel master, 1.24.0-8.0.pre.291, on Microsoft Windows [Version 10.0.18362.1016])
[鈭歖 Android toolchain - develop for Android devices (Android SDK version 30.0.0)
[鈭歖 Chrome - develop for the web
[鈭歖 Android Studio (version 4.0)
[鈭歖 VS Code (version 1.51.1)
[鈭歖 Connected device (4 available)
Same Problem
Changing to Stable Fixed My Problem
If you need (like me), to stay on the flutter master branch, the PR #805 fix the issue.
add on your pubspec on dependencies:
dependencies:
get:
git:
url: [email protected]:jonataslaw/getx.git
ref: dev
Great, thank you 馃憤
I used this synthax to avoid a pub get error:
get:
git:
url: https://github.com/jonataslaw/getx.git
ref: dev
Because get_storage >=1.3.2 depends on get from hosted and ProjectName depends on get from git, get_storage >=1.3.2 is forbidden.
How to solve this?
@kyawsithu use flutter stable channel and GetX 3.17.1
Thanks @eduardoflorence issue was solved
Fixed on last update
Most helpful comment
Great, thank you 馃憤
I used this synthax to avoid a pub get error: