helperMd method

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

Implementation

Widget helperMd(BuildContext context, double val){
  if((Responsive.md(context) || Responsive.xl(context) || Responsive.lg(context))){
    // double width = MediaQuery.of(context).size.width*val;
    // // print(">>>> W "+width.toString());
    // // print(">>>> V "+val.toString());
    // // child = SizedBox(width: width.toPrecision(2), child: child);
    child = FractionallySizedBox(
        key:key,
        widthFactor: val,
        // heightFactor: val,
        child: child
    );
  }else{
    child = child;
  }
  return child;
}