OpenFlutter / flutter_screenutil

Flutter screen adaptation, font adaptation, get screen information
https://pub.dartlang.org/packages/flutter_screenutil
Apache License 2.0
3.88k stars 494 forks source link

fix #372 #374

Closed zhcode-fun closed 2 years ago

zhcode-fun commented 2 years ago

fix https://github.com/OpenFlutter/flutter_screenutil/issues/372 BuildContext context -> BuildContext? context

lizhuoyuan commented 2 years ago

thank u,bro . But I don't currently want to change the context from a required parameter to an optional parameter