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,
- Iterable<
String> ? responsiveWidgets, - FontSizeResolver fontSizeResolver = FontSizeResolvers.width,
A helper widget that initializes ScreenUtil
Implementation
const ScreenUtilInit({
super.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.responsiveWidgets,
this.fontSizeResolver = FontSizeResolvers.width,
});