wh40 method

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

SizedBox widget with 40% width & height of the MediaQuery width & height

Implementation

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