ActionListener constructor Null safety
- {Key? key,
- required ActionListenerCallback listener,
- required Action<
Intent> action, - required Widget child}
Create a const ActionListener.
Implementation
const ActionListener({
super.key,
required this.listener,
required this.action,
required this.child,
}) : assert(listener != null),
assert(action != null),
assert(child != null);