setScreenUtil method

void setScreenUtil(
  1. BuildContext context, {
  2. double? width,
  3. double? height,
})

Implementation

void setScreenUtil(BuildContext context, {double? width, double? height}) {
  ScreenUtil.init(context,designSize:Size(width!,height!));
}