CustomTextField constructor
const
CustomTextField({
- Key? key,
- bool? enabled,
- bool? obscureText,
- TextCapitalization? textCapitalization,
- String? validator()?,
- Widget? prefix,
- Widget? suffix,
- dynamic onTap()?,
- List<
TextInputFormatter> ? inputFormatters, - Color? fillColor,
- TextEditingController? controller,
- required String labelText,
- void onSaved()?,
- void onChanged()?,
- String? headingText,
- TextInputType? keyboardType = TextInputType.multiline,
- int? maxLines,
- int? maxLength,
- double borderWidth = .5,
- BorderSide? borderSide,
- AutovalidateMode? autovalidateMode,
Implementation
const CustomTextField(
{super.key,
this.enabled,
this.obscureText,
this.textCapitalization,
this.validator,
this.prefix,
this.suffix,
this.onTap,
this.inputFormatters,
this.fillColor,
this.controller,
required this.labelText,
this.onSaved,
this.onChanged,
this.headingText,
this.keyboardType = TextInputType.multiline,
this.maxLines,
this.maxLength,
this.borderWidth = .5,
this.borderSide,
this.autovalidateMode});