useInherited property

bool get useInherited
inherited

A flag determining whether the built-in InheritedWidget is used or not.

Implementation

bool get useInherited => _useInherited || _buildInOverridden;