maybeOf static method
- BuildContext context
The nearest painter above context, or null when none is installed.
Implementation
static MorphGlassPainter? maybeOf(BuildContext context) =>
context.dependOnInheritedWidgetOfExactType<MorphGlassScope>()?.painter;