isActionEnabled property Null safety
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 Action
s lookupContext
.
Implementation
//
/// 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 `Action`s `lookupContext`.
bool get isActionEnabled => true;