AskIntDialogParams constructor

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