出現這個bug是因爲沒有初始化 flutter_screenutil 加上下面的代碼就好了
注意要加在使用flutter_screenutil 的開頭
ScreenUtil.instance = ScreenUtil(width: 750, height: 1334)..init(context);
出現這個bug是因爲沒有初始化 flutter_screenutil 加上下面的代碼就好了
注意要加在使用flutter_screenutil 的開頭
ScreenUtil.instance = ScreenUtil(width: 750, height: 1334)..init(context);
1、文本 Text( '社區周邊', textAlign: TextAlign.left, style: TextStyle( color: Colors.black, fontSize: Scree