maxHeightOf static method

double maxHeightOf(
  1. BuildContext context
)

Implementation

static double maxHeightOf(BuildContext context) {
  final container = maybeOf(context);
  return min(
    (container?.maxHeight ?? MediaQuery.of(context).size.height),
    900,
  );
}