onInit property
void Function()?
onInit
final
Callback triggered when the retry button is pressed. This is usually used to reinitialize the form or retry the failed operation.
Implementation
final void Function()? onInit;