dispatcher property Null safety

ActionDispatcher? dispatcher
final

The ActionDispatcher object that invokes actions.

This is what is returned from Actions.of, and used by Actions.invoke.

If this dispatcher is null, then Actions.of and Actions.invoke will look up the tree until they find an Actions widget that has a dispatcher set. If not such widget is found, then they will return/use a default-constructed ActionDispatcher.

Implementation

final ActionDispatcher? dispatcher;