onSubmitted property
Callback that is called with selected item of type T when submit button inside actions is tapped.
This is only called when default actions are used.
If actions are provided, then user should save the value when onSelected is called and handle the submit with this value inside a submit button of this actions.
Implementation
final ValueChanged<T>? onSubmitted;