TextPromptSync constructor

const TextPromptSync({
  1. required String title,
  2. PromptTheme theme = PromptTheme.dark,
  3. String? placeholder,
  4. String? validator(
    1. String text
    )?,
  5. bool required = false,
  6. bool masked = false,
  7. String maskChar = '•',
  8. bool allowReveal = true,
})

Implementation

const TextPromptSync({
  required this.title,
  this.theme = PromptTheme.dark,
  this.placeholder,
  this.validator,
  this.required = false,
  this.masked = false,
  this.maskChar = '•',
  this.allowReveal = true,
});