ScreenUtilInit constructor
const
ScreenUtilInit({
- Key? key,
- ScreenUtilInitBuilder? builder,
- Widget? child,
- RebuildFactor rebuildFactor = RebuildFactors.size,
- Size designSize = ScreenUtil.defaultSize,
- bool splitScreenMode = false,
- bool minTextAdapt = false,
- bool useInheritedMediaQuery = false,
- bool ensureScreenSize = false,
- bool enableScaleWH()?,
- bool enableScaleText()?,
- Iterable<
String> ? responsiveWidgets, - Iterable<
String> ? excludeWidgets, - FontSizeResolver fontSizeResolver = FontSizeResolvers.width,
A helper widget that initializes ScreenUtil
Implementation
const ScreenUtilInit({
Key? key,
this.builder,
this.child,
this.rebuildFactor = RebuildFactors.size,
this.designSize = ScreenUtil.defaultSize,
this.splitScreenMode = false,
this.minTextAdapt = false,
this.useInheritedMediaQuery = false,
this.ensureScreenSize = false,
this.enableScaleWH,
this.enableScaleText,
this.responsiveWidgets,
this.excludeWidgets,
this.fontSizeResolver = FontSizeResolvers.width,
}) : super(key: key);