maybeOf static method
The nearest published ground, or null when none is.
Implementation
static ChromeGround? maybeOf(BuildContext context) =>
context.dependOnInheritedWidgetOfExactType<ChromeGroundScope>()?.ground;
The nearest published ground, or null when none is.
static ChromeGround? maybeOf(BuildContext context) =>
context.dependOnInheritedWidgetOfExactType<ChromeGroundScope>()?.ground;