whFourFifth method

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

SizedBox widget with four-fifth or 80% width & height of the MediaQuery width & height

Implementation

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