TextFieldPro constructor
const
TextFieldPro({
- Key? key,
- bool? readonly = false,
- Widget? errorWidget,
- String? errorbg = "1",
- String? hintText,
- EdgeInsets? padding,
- TextEditingController? controller,
- String? label,
- Widget? labelWidget,
- Widget? prefixIcon,
- Widget? suffixIcon,
- bool? isPassword = false,
- bool? isRequired = false,
- String? prefix,
- Widget? suffix,
- bool? isValidate = false,
- List<
TextInputFormatter> ? inputFormatters, - VoidCallback? onEditingComplete,
- FormFieldValidator<
String> ? validator, - GestureTapCallback? onTap,
- ValueChanged<
String> ? onChangeTextField, - FormFieldSetter<
String> ? onSavedTextField, - TextInputType? keyboardType,
- String? counterText,
- int? maxLength,
- Color? borderColor,
- String? errorMessage,
- IconData? errorIcon,
- Color? errorBackgroundColor,
- String? initialValue,
Implementation
const TextFieldPro(
{Key? key,
this.readonly = false,
this.errorWidget,
this.errorbg = "1",
this.hintText,
this.padding,
this.controller,
this.label,
this.labelWidget,
this.prefixIcon,
this.suffixIcon,
this.isPassword = false,
this.isRequired = false,
this.prefix,
this.suffix,
this.isValidate = false,
this.inputFormatters,
this.onEditingComplete,
this.validator,
this.onTap,
this.onChangeTextField,
this.onSavedTextField,
this.keyboardType,
this.counterText,
this.maxLength,
this.borderColor,
this.errorMessage,
this.errorIcon,
this.errorBackgroundColor,
this.initialValue})
: super(key: key);