AskIntDialogParams constructor
const
AskIntDialogParams({
- @Default("") String placeholder,
- @Default("") String title,
- @Default("Ok") String okBtnText,
- @Default("Cancel") String cancelBtnText,
- @igFreezedJson bool disableOkButton(
- int value
- @igFreezedJson String? errorMessage(
- int value
Implementation
const factory AskIntDialogParams({
@Default("") String placeholder,
@Default("") String title,
@Default("Ok") String okBtnText,
@Default("Cancel") String cancelBtnText,
@igFreezedJson bool Function(int value)? disableOkButton,
@igFreezedJson String? Function(int value)? errorMessage,
}) = _AskIntDialogParams;