CuReTextField constructor
const
CuReTextField({
- Key? key,
- String? placeholder,
- String? label,
- IconData? prefixIcon,
- IconData? suffixIcon,
- Widget? suffix,
- required TextEditingController controller,
- CuReTextFieldValidator? validator,
- Function? onChanged,
- bool? showBorder,
- dynamic onValidation()?,
- bool? disabled,
- bool? readonly,
- CuReTextFieldType? type,
- bool? multiline,
- int? maxLines,
- CuReShape? shape,
- Function? onSubmitted,
- bool? showCounter,
- double? borderRadius,
- List<
CuReDropdownItem> ? options, - Color? color,
- TextAlign? textAlign,
- double? fontSize,
- FontWeight? fontWeight,
- EdgeInsets? padding,
Implementation
const CuReTextField({
super.key,
this.placeholder,
this.label,
this.prefixIcon,
this.suffixIcon,
this.suffix,
required this.controller,
this.validator,
this.onChanged,
this.showBorder,
this.onValidation,
this.disabled,
this.readonly,
this.type,
this.multiline,
this.maxLines,
this.shape,
this.onSubmitted,
this.showCounter,
this.borderRadius,
this.options,
this.color,
this.textAlign,
this.fontSize,
this.fontWeight,
this.padding,
});