hasWidgetOf static method

bool hasWidgetOf(
  1. BuildContext context
)

Implementation

static bool hasWidgetOf(BuildContext context) {
  return InheritedModel.inheritFrom<StageData>(context, aspect: _hasWidgetAspect)!.widget != null;
}