isActionEnabled property

  1. @override
bool isActionEnabled
override

Whether this Action is inherently enabled.

If isActionEnabled is false, then this Action is disabled for any given Intent. If the enabled state changes, overriding subclasses must call notifyActionListeners to notify any listeners of the change.

In the case of an overridable Action, accessing this property creates an dependency on the overridable Actions lookupContext.

Implementation

@override
bool get isActionEnabled => _isEnabled;