ScreenUtilInit constructor

const ScreenUtilInit({
  1. Key? key,
  2. ScreenUtilInitBuilder? builder,
  3. Widget? child,
  4. RebuildFactor rebuildFactor = RebuildFactors.size,
  5. Size designSize = ScreenUtil.defaultSize,
  6. bool splitScreenMode = false,
  7. bool minTextAdapt = false,
  8. bool useInheritedMediaQuery = false,
  9. bool ensureScreenSize = false,
  10. bool enableScaleWH()?,
  11. bool enableScaleText()?,
  12. Iterable<String>? responsiveWidgets,
  13. Iterable<String>? excludeWidgets,
  14. 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);