of static method
Implementation
static SafaehSheet of(BuildContext context) {
final scope = context
.dependOnInheritedWidgetOfExactType<_SafaehSheetScope>();
if (scope == null) {
throw StateError('SafaehSheet.of() called with no showSafaeh ancestor.');
}
return scope.sheet;
}