h60 method

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

Creates a SizedBox widget with a specific height of 60% of the MediaQuery height.

Example:

SomeWidget().h60(context)

Implementation

Widget h60(BuildContext context, {Key? key}) => SizedBox(
      key: key,
      height: context.screenHeightInPercentage * 60,
      child: this,
    );