ScreenUtilInit constructor

const ScreenUtilInit({
  1. Key? key,
  2. required 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 scaleByHeight = 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,
    this.scaleByHeight = false})
    : super(key: key);