CustomTextField constructor
const
CustomTextField({
- Key? key,
- dynamic customValidator,
- dynamic vertical,
- dynamic prefixIcon,
- dynamic suffixIcon,
- dynamic hintText,
- dynamic obscureText,
- dynamic controller,
- bool readOnly = false,
- bool? digitOnly = false,
- int? lengthLimiting,
- Function? onChanged,
- TextInputType? textInputType,
- int? maxLength,
- dynamic onTap,
- String? label,
- bool isRequired = false,
- bool withValidate = false,
- bool isMobileNumber = false,
- double? width,
- String? errorText,
Implementation
const CustomTextField(
{Key? key,
this.customValidator,
this.vertical,
this.prefixIcon,
this.suffixIcon,
this.hintText,
this.obscureText,
this.controller,
this.readOnly = false,
this.digitOnly = false,
this.lengthLimiting,
this.onChanged,
this.textInputType,
this.maxLength,
this.onTap,
this.label,
this.isRequired = false,
this.withValidate = false, this.isMobileNumber = false, this.width, this.errorText})
: super(key: key);