actions property

Map<Type, Action<Intent>> actions

A map of Intent keys to Action<Intent> objects that defines which actions this widget knows about.

For performance reasons, it is recommended that a pre-built map is passed in here (e.g. a final variable from your widget class) instead of defining it inline in the build function.


final Map> actions