CustomTextFormField constructor
const
CustomTextFormField({
- Key? key,
- String? labelText,
- required String hintText,
- FormFieldValidator<
String> ? validator, - TextEditingController? controller,
- ValueChanged<
String> ? onChanged, - TextInputType? keyboardType,
- TextInputAction? textInputAction,
- bool obscureText = false,
- Widget? surfixWidget,
- Widget? rightWidget,
Implementation
const CustomTextFormField({super.key,
this.labelText,
required this.hintText,
this.validator,
this.controller,
this.onChanged,
this.keyboardType,
this.textInputAction,
this.obscureText = false,
this.surfixWidget,
this.rightWidget,
});