isDialogOverlay static method

bool isDialogOverlay(
  1. BuildContext context
)

Checks if the current context is within a dialog overlay.

Returns true if the context is inside a dialog managed by this overlay handler.

Implementation

static bool isDialogOverlay(BuildContext context) {
  return Model.maybeOf<bool>(context, #shadcn_flutter_dialog_overlay) == true;
}