initScreenUtilInit static method

dynamic initScreenUtilInit({
  1. required Size designSize,
  2. required Widget builder(
    1. BuildContext,
    2. Widget?
    ),
})

Implementation

static initScreenUtilInit(
    {required Size designSize,
    required Widget Function(BuildContext, Widget?) builder}) {
  return ScreenUtilInit(
    designSize: designSize,
    minTextAdapt: true,
    splitScreenMode: true,
    builder: builder,
  );
}