Actions constructor Null safety

const Actions(
  1. {Key? key,
  2. ActionDispatcher? dispatcher,
  3. required Map<Type, Action<Intent>> actions,
  4. required Widget child}

Creates an Actions widget.

The child, actions, and dispatcher arguments must not be null.


const Actions({
  Key? key,
  required this.actions,
  required this.child,
})  : assert(actions != null),
      assert(child != null),
      super(key: key);