helperLg method

Widget helperLg(
  1. BuildContext context,
  2. double val
)

Implementation

Widget helperLg(BuildContext context, double val){
  if((Responsive.xl(context) || Responsive.lg(context))){
    double width = MediaQuery.of(context).size.width*val;
    child = SizedBox(width: width.toPrecision(2), child: child);
  }else{
    child = child;
  }
  return child;
}