heightOf function

double heightOf(
  1. BuildContext context
)

More readable than MediaQuery.of(context).size.height

Implementation

double heightOf(BuildContext context) {
  return MediaQuery.of(context).size.height;
}