maxWidthOf static method

double maxWidthOf(
  1. BuildContext context
)

Implementation

static double maxWidthOf(BuildContext context) {
  final container = maybeOf(context);
  return (container?.maxWidth ?? MediaQuery.of(context).size.width);
}