PasswordInput constructor

const PasswordInput({
  1. Key? key,
  2. TextEditingController? controller,
  3. String? initialValue,
  4. FormFieldValidator<String>? validator,
  5. ValueChanged<String>? onFieldSubmitted,
  6. TextInputAction? textInputAction,
  7. dynamic onEditingComplete()?,
  8. bool enabled = true,
  9. bool autofocus = false,
  10. String? label = 'Password',
  11. String? placeholder = 'Enter your password',
  12. dynamic onChanged(
    1. String?
    )?,
  13. TextInputType? keyboardType,
  14. GestureTapCallback? onTap,
})

Implementation

const PasswordInput({
  super.key,
  this.controller,
  this.initialValue,
  this.validator,
  this.onFieldSubmitted,
  this.textInputAction,
  this.onEditingComplete,
  this.enabled = true,
  this.autofocus = false,
  this.label = 'Password',
  this.placeholder = 'Enter your password',
  this.onChanged,
  this.keyboardType,
  this.onTap,
});