Dart
Flutter
ScreenUtil
The workaround is to demonstrate correct usage of flutter_screenutil
package. The code is runnable in DartPad by mimicking the actual package code implementation since flutter_screenutil
isn't supported in DartPad yet.
Note
To see the result you can resizing the running result window to see the sizing behavior. You can run this demo on DartPad, here.