helperXl method

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

Implementation

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