wh10 method

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

Creates a SizedBox widget with a width and height of 10.

Example:

SomeWidget().wh10(context)

Implementation

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