wh10 method

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

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

Implementation

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