whOneForth method

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

SizedBox widget with one-forth or 25% width & height of the MediaQuery width & height

Implementation

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