flutter_screenutil
flutter_screenutil copied to clipboard
The getter 'physicalGeometry' isn't defined for the type 'FlutterView'.
After upgrading flutter package stopped working.
The getter 'physicalGeometry' isn't defined for the type 'FlutterView'.
I am facing the same issue
Replace the code with this in screen_util package.
static Future
await Future.doWhile(() {
if (window == null) {
window = binding.platformDispatcher.implicitView;
}
if (window == null || window!.physicalSize.isEmpty) {
return Future.delayed(duration, () => true);
}
return false;
});
binding.allowFirstFrame();
}
### This version solved my issue flutter_screenutil: ^5.9.0
This issue is stale because it has been open for 30 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.