pageContainer static method
Page页面的容器,做一次通用自定义
Implementation
static Widget pageContainer(context, widget) {
return MediaQuery(
///不受系统字体缩放影响
data: MediaQuery.of(context).copyWith(textScaleFactor: 1.0),
child: widget);
}
Page页面的容器,做一次通用自定义
static Widget pageContainer(context, widget) {
return MediaQuery(
///不受系统字体缩放影响
data: MediaQuery.of(context).copyWith(textScaleFactor: 1.0),
child: widget);
}