Closed ankitmiyantechspian closed 2 months ago
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.
After upgrading flutter package stopped working.
The getter 'physicalGeometry' isn't defined for the type 'FlutterView'.