actions property

Map<LocalKey, ActionFactory> actions
final

A map of Intent keys to ActionFactory factory methods 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.

Implementation

final Map<LocalKey, ActionFactory> actions