wh2 method
SizedBox widget with 2% width
& height
of the MediaQuery width & height
Implementation
Widget wh2(BuildContext context, {Key? key}) => SizedBox(
key: key,
width: context.percentWidth * 2,
height: context.percentHeight * 2,
child: this,
);