Closed dleurs closed 1 year ago
using
await ScreenUtil.ensureScreenSize();
ScreenUtil.init(
context,
designSize: const Size(
ScreenSizeUtil.screenWidthDesign,
ScreenSizeUtil.screenHeightDesign,
),
);
makes app crash, but I may deep dive a bit more this, if no other solution track is found
It seems my issue maybe related to vscode more than the package
Hello 👋🙂
My app is running fine using
flutter_screenutil: 5.5.4
onFlutter 3.3.2
, however, I cannot see the widget tree in devtools in debug mode, and so I cannot use the select widget mode in devtools :Where ScreenUtilInit is setup :
Removing ScreenUtilInit widget and every call to .h, .sp or .w solves the issue, but I would like to keep using flutter_screenutil