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.

Implementation

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