isFullScreenMode static method

bool isFullScreenMode(
  1. BuildContext context
)

Checks if the current context is in full-screen modal mode.

Returns true if the modal should display in full-screen mode, which affects styling such as border radius and shadows.

Implementation

static bool isFullScreenMode(BuildContext context) {
  return Model.maybeOf<bool>(context, kFullScreenMode) == true;
}