of static method

ChromeGround of(
  1. BuildContext context
)

The ground published at context (ChromeGroundScope), surface when none is.

Implementation

static ChromeGround of(BuildContext context) =>
    ChromeGroundScope.maybeOf(context) ?? surface;