CustomTextField constructor
const
CustomTextField({
- Key? key,
- required TextEditingController wrapper,
- required String hintText,
- int? maxLength,
- TextInputType inputType = TextInputType.text,
- bool isEnabled = true,
- Color color = AppColors.white,
- Widget? prefixWidget,
- Widget? suffixWidget,
- Color? borderColor,
- TextStyle? hintStyle,
- dynamic onChanged(
- String val
- bool autoFocus = false,
- int maxLines = 1,
- int? minLines,
- double textFieldRadius = 15.0,
- EdgeInsets? contentPadding,
Implementation
const CustomTextField(
{super.key,
required this.wrapper,
required this.hintText,
this.maxLength,
this.inputType = TextInputType.text,
this.isEnabled = true,
this.color = AppColors.white,
this.prefixWidget,
this.suffixWidget,
this.borderColor,
this.hintStyle,
this.onChanged,
this.autoFocus = false,
this.maxLines = 1,
this.minLines,
this.textFieldRadius = 15.0,
this.contentPadding});