GeneralTextField constructor
const
GeneralTextField({
- Key? key,
- required TextEditingController controller,
- required String labelText,
- required TextValidationType textValidationType,
- required void onFieldSubmitted()?,
- void onChanged()?,
- Color? contentColor,
- Color? borderColor,
- IconData? prefixIcon,
- int? minLines,
- int? maxLines = 1,
- TextInputType? textInputType,
- TextEditingController? previousPasswordController,
- FocusNode? focusNode,
- FocusNode? nextFocus,
- Widget? suffix,
- Widget? prefix,
- BorderRadius? borderRadius,
Implementation
const GeneralTextField({
super.key,
required this.controller,
required this.labelText,
required this.textValidationType,
required this.onFieldSubmitted,
this.onChanged,
this.contentColor,
this.borderColor,
this.prefixIcon,
this.minLines,
this.maxLines = 1,
this.textInputType,
this.previousPasswordController,
this.focusNode,
this.nextFocus,
this.suffix,
this.prefix,
this.borderRadius,
});