isPortrait static method

bool isPortrait(
  1. BuildContext context
)

Implementation

static bool isPortrait(BuildContext context) {
  final container = maybeOf(context);
  return container?.orientation.isPortrait ?? false;
}