wh40 method
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,
);