running flutter pub get does not install window_manager: ^0.7.1 despite being in the pubspec.yml. yet it works perfectly with the 0.5.x versions
Activity
lijy91 commentedon Dec 1, 2026
We just tested
window_manager: ^0.7.1in a fresh project on Flutter 3.50.0 / Dart 3.14.0 andflutter pub getresolved and installed it cleanly.Could you share:
flutter --versionflutter pub get(orflutter pub get -v)pubspec.yaml(at least theenvironmentanddependenciessections)The two most common reasons
0.5.xresolves while^0.7.1does not are:0.7.1requires Flutter>=3.50.0and Dart^3.14.0(whereas0.5.2supportedFlutter >=3.3.0 / Dart >=3.0.0).0.7.1depends onmaterial_ui: ^1.11.0(which pulls influtter_localizationsandintl: ^0.20.2). Note thatmaterial_uihas already been removed onmain(refactor(widgets): drop material_ui dependency. leanflutter/window_manager#612) for the next patch release.