onConfirm property

void Function(String result) onConfirm
final

Callback invoked when the user confirms the input. Type: void Function(String) (required). Usage: Receives the entered text; use to process or save the value, e.g., update state or API call.

Implementation

final void Function(String result) onConfirm;