of static method
The ground published at context (MinimalGroundScope), surface when
none is.
Implementation
static MinimalGround of(BuildContext context) =>
context
.dependOnInheritedWidgetOfExactType<_MinimalGroundMark>()
?.ground ??
surface;