AskIntDialogParams constructor
const
AskIntDialogParams({
- @Default("") String placeholder,
- @Default("") String title,
- @Default("Ok") String okBtnText,
- @Default("Cancel") String cancelBtnText,
- @JsonKey(fromJson: null, toJson: null, includeFromJson: false, includeToJson: false) bool disableOkButton(
- int value
- @JsonKey(fromJson: null, toJson: null, includeFromJson: false, includeToJson: false) String? errorMessage(
- int value
Implementation
const factory AskIntDialogParams({
@Default("") String placeholder,
@Default("") String title,
@Default("Ok") String okBtnText,
@Default("Cancel") String cancelBtnText,
@JsonKey(fromJson: null,toJson: null,includeFromJson: false,includeToJson: false) bool Function(int value)? disableOkButton,
@JsonKey(fromJson: null,toJson: null,includeFromJson: false,includeToJson: false) String? Function(int value)? errorMessage,
}) = _AskIntDialogParams;