Confirm constructor

const Confirm({
  1. required Key id,
  2. required String message,
  3. bool defaultValue = false,
  4. void onSubmit(
    1. bool value
    )?,
  5. String askPrefix = '?',
  6. Style? askPrefixStyle,
  7. Style? messageStyle,
  8. Style? hintStyle,
})

Implementation

const Confirm({
  required this.id,
  required this.message,
  this.defaultValue = false,
  this.onSubmit,
  this.askPrefix = '?',
  this.askPrefixStyle,
  this.messageStyle,
  this.hintStyle,
});