ResponsiveScreenUtilInit constructor

ResponsiveScreenUtilInit({
  1. required Widget child,
  2. Size designSize = ResponsiveScreenUtil.defaultSize,
  3. bool allowFontScaling = false,
  4. Key? key,
})

A helper widget that initializes ResponsiveScreenUtilInit

Implementation

ResponsiveScreenUtilInit({
  required this.child,
  this.designSize = ResponsiveScreenUtil.defaultSize,
  this.allowFontScaling = false,
  Key? key,
}) : super(key: key);