hasParentSheet static method
- BuildContext context
Checks if a Cupertino sheet view exists in the widget tree above the current context.
Implementation
static bool hasParentSheet(BuildContext context) {
return _CupertinoSheetScope.maybeOf(context) != null;
}