isScreen property

bool get isScreen

Whether build leads to a Scaffold through single-child wrappers (providers, builders, PopScope, project widgets, ...). Real apps rarely return the Scaffold directly.

Implementation

bool get isScreen => scaffoldPath != null;