CustomTextField constructor
const
CustomTextField({
- Key? key,
- bool isPassword = false,
- bool isNumber = false,
- int? length,
- TextCapitalization textCapitalization = TextCapitalization.none,
- required TextEditingController textController,
- String? validator()?,
- double? cornerRadius,
- String? title,
- String? placeHolderText,
- TextAlign? textAlign,
- String? prefixText,
- Widget? prefix,
- TextInputAction? textInputAction,
- int? lines,
- bool? showCounterText = false,
- Widget? suffix,
- bool readOnly = false,
- dynamic onTap()?,
- List<
TextInputFormatter> ? inputFormatters,
Implementation
const CustomTextField(
{super.key,
this.isPassword = false,
this.isNumber = false,
this.length,
this.textCapitalization = TextCapitalization.none,
required this.textController,
this.validator,
this.cornerRadius,
this.title,
this.placeHolderText,
this.textAlign,
this.prefixText,
this.prefix,
this.textInputAction,
this.lines,
this.showCounterText = false,
this.suffix,
this.readOnly = false,
this.onTap,
this.inputFormatters});