wh20 method

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

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

Implementation

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