AppTextField constructor
const
AppTextField({
- Key? key,
- TextEditingController? controller,
- String? hintText,
- String? labelText,
- bool obscureText = false,
- Widget? prefixIcon,
- Widget? suffixIcon,
- FormFieldValidator<
String> ? validator, - ValueChanged<
String> ? onChanged, - TextInputType? keyboardType,
- int? maxLines = 1,
Implementation
const AppTextField({
super.key,
this.controller,
this.hintText,
this.labelText,
this.obscureText = false,
this.prefixIcon,
this.suffixIcon,
this.validator,
this.onChanged,
this.keyboardType,
this.maxLines = 1,
});