FormTextField constructor
const
FormTextField({
- Key? key,
- required String name,
- String? label,
- String? hint,
- IconData? icon,
- List<
FormFieldValidator< validators = const [],String> > - bool obscureText = false,
- TextInputType? keyboardType,
- TextInputAction? textInputAction,
- int maxLines = 1,
- String? initialValue,
- bool enabled = true,
- ValueChanged<
String> ? onChanged,
Implementation
const FormTextField({
super.key,
required this.name,
this.label,
this.hint,
this.icon,
this.validators = const [],
this.obscureText = false,
this.keyboardType,
this.textInputAction,
this.maxLines = 1,
this.initialValue,
this.enabled = true,
this.onChanged,
});