of static method
Returns the nearest SheetStateInfo in context, or null.
Implementation
static SheetStateInfo? of(BuildContext context) {
return context
.dependOnInheritedWidgetOfExactType<GlassModalSheetStateProvider>()
?.info;
}
Returns the nearest SheetStateInfo in context, or null.
static SheetStateInfo? of(BuildContext context) {
return context
.dependOnInheritedWidgetOfExactType<GlassModalSheetStateProvider>()
?.info;
}