Optional callback to show alert dialogs.
final void Function(BuildContext, String, String?)? onShowAlert;