isEnabled method Null safety

bool isEnabled(
  1. covariant T intent

Returns true if the action is enabled and is ready to be invoked.

This will be called by the ActionDispatcher before attempting to invoke the action.

If the enabled state changes, overriding subclasses must call notifyActionListeners to notify any listeners of the change.


bool isEnabled(covariant T intent) => true;