SecretTextFormField constructor
const
SecretTextFormField({
- Key? key,
- required TextEditingController controller,
- FocusNode? focusNode,
- InputDecoration decoration = const InputDecoration(),
- int? maxLines = 1,
- int? maxLength,
- List<
TextInputFormatter> ? inputFormatters, - TextInputAction? textInputAction,
- ValueChanged<
String> ? onFieldSubmitted, - FormFieldValidator<
String> ? validator, - 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,
});