What if I have multiple desingSize in Figma for example
I have These first one is Size(365, 1060) for mobile,
Second one is Size(1440, 1440) for Web,
and it declared once here
I tried use that function inside build method for mobile and web widgets
ScreenUtil.init(
context,
// for web
designSize: const Size(1440, 1440), // for mobile Size(365,1060)
);
What if I have multiple desingSize in Figma for example I have These first one is Size(365, 1060) for mobile, Second one is Size(1440, 1440) for Web, and it declared once here
I tried use that function inside build method for mobile and web widgets
but I think isn't works well.