wh1 method

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

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

Implementation

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