SecretTextFormField constructor

const SecretTextFormField({
  1. Key? key,
  2. required TextEditingController controller,
  3. FocusNode? focusNode,
  4. InputDecoration decoration = const InputDecoration(),
  5. int? maxLines = 1,
  6. int? maxLength,
  7. List<TextInputFormatter>? inputFormatters,
  8. TextInputAction? textInputAction,
  9. ValueChanged<String>? onFieldSubmitted,
  10. FormFieldValidator<String>? validator,
  11. bool autofocus = false,
})

Implementation

const SecretTextFormField({
  super.key,
  required this.controller,
  this.focusNode,
  this.decoration = const InputDecoration(),
  this.maxLines = 1,
  this.maxLength,
  this.inputFormatters,
  this.textInputAction,
  this.onFieldSubmitted,
  this.validator,
  this.autofocus = false,
});