AskIntDialogParams constructor

const AskIntDialogParams({
  1. @Default("") String placeholder,
  2. @Default("") String title,
  3. @Default("Ok") String okBtnText,
  4. @Default("Cancel") String cancelBtnText,
  5. @JsonKey(fromJson: null, toJson: null, includeFromJson: false, includeToJson: false) bool disableOkButton(
    1. int value
    )?,
  6. @JsonKey(fromJson: null, toJson: null, includeFromJson: false, includeToJson: false) String? errorMessage(
    1. 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;