ScreenUtilInit constructor
const
ScreenUtilInit({
- Key? key,
- required ScreenUtilInitBuilder builder,
- Widget? child,
- RebuildFactor rebuildFactor = RebuildFactors.size,
- Size designSize = ScreenUtil.defaultSize,
- bool splitScreenMode = false,
- bool minTextAdapt = false,
- bool useInheritedMediaQuery = false,
A helper widget that initializes ScreenUtil
Implementation
const ScreenUtilInit({
Key? key,
required this.builder,
this.child,
this.rebuildFactor = RebuildFactors.size,
this.designSize = ScreenUtil.defaultSize,
this.splitScreenMode = false,
this.minTextAdapt = false,
this.useInheritedMediaQuery = false,
}) : super(key: key);