CustomTextFormField constructor
CustomTextFormField({
- 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
CustomTextFormField({
this.labelText,
required this.hintText,
this.validator,
this.controller,
this.onChanged,
this.keyboardType,
this.textInputAction,
this.obscureText = false, this.surfixWidget, this.rightWidget,
});