hHalf method

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

SizedBox widget with half or 50% height of the MediaQuery height

Implementation

Widget hHalf(BuildContext context, {Key? key}) => SizedBox(
      key: key,
      height: context.percentHeight * 50,
      child: this,
    );