OpenFlutter/flutter_screenutil

flutter_screenutil 5.9.0, Android phones can run with the screen turned off and wiget will be lost

spring321 opened this issue · 2 comments

[✓] Flutter (Stable Channel, 3.19.3, macOS 14.3.1 23D60 darwin-arm64 (Rosetta), language environment zh-Hans-CN)
• Flutter version 3.19.3 on stable channels
• upstream repositories [https://github. Com/flutter, flutter. Git] (https://github.com/flutter/flutter.git)
• Framework Revision ba39319843 (6 weeks ago),
• Engine revision 2e4ba9c6fb
• Dart version 3.3.1
• DevTools version 2.31.1
• Pub Download image https://pub.flutter-io.cn/
• Flutter download images https://storage.flutter-io.cn/

In version 5.9.0, Android phones can run with the screen turned off and wiget will be lost

Same issue is happening with me, and when I downgraded the version to the lower version

got the following error for the flutter version 3.19.5

image

Please provide a minimal reproduction code to help us debug, thanks