ActionListenerModifier constructor

const ActionListenerModifier({
  1. Key? key,
  2. Key? modifierKey,
  3. Widget? child,
  4. required ActionListenerCallback listener,
  5. required Action<Intent> action,
})

Create a const ActionListener.

The listener, action, and child arguments must not be null.

Implementation

const ActionListenerModifier({
  super.key,
  super.modifierKey,
  super.child,
  required this.listener,
  required this.action,
});