w40 method

Widget w40(
  1. BuildContext context, {
  2. Key? key,
})

SizedBox widget with 40% width of the MediaQuery width

Implementation

Widget w40(BuildContext context, {Key? key}) => SizedBox(
      key: key,
      width: context.percentWidth * 40,
      child: this,
    );