Password constructor

Password({
  1. required String prompt,
  2. bool confirmation = false,
  3. String? confirmPrompt,
  4. String? confirmError,
})

Constructs a Password component with the default theme.

Implementation

Password({
  required this.prompt,
  this.confirmation = false,
  this.confirmPrompt,
  this.confirmError,
}) : theme = Theme.defaultTheme;