Ankit Miyan

Results 1 comments of Ankit Miyan

Replace the code with this in screen_util package. static Future ensureScreenSize([ ui.FlutterView? window, Duration duration = const Duration(milliseconds: 10), ]) async { final binding = WidgetsFlutterBinding.ensureInitialized(); binding.deferFirstFrame(); await Future.doWhile(() {...