UITextField constructor
UITextField({
- UITextFieldDefaults? as,
- String? hint,
- String? label,
- dynamic validator(
- String value
- double? borderRadius,
- UIBorderType? borderType,
- Color? borderColor,
- Color? focusBorderColor,
- Color? errorBorderColor,
- double? borderWidth,
- Color? hintColor,
- Color? labelColor,
- double? padding,
- bool? obscureText,
- TextInputType? keyboardType,
- required Function onChanged,
- Function? onTap,
- TextEditingController? controller,
- Color? bgColor,
- FloatingLabelBehavior? floatingLabelBehavior,
- Widget? suffix,
- Widget? prefix,
Implementation
UITextField({
this.as,
this.hint,
this.label,
this.validator,
this.borderRadius,
this.borderType,
this.borderColor,
this.focusBorderColor,
this.errorBorderColor,
this.borderWidth,
this.hintColor,
this.labelColor,
this.padding,
this.obscureText,
this.keyboardType,
required this.onChanged,
this.onTap,
this.controller,
this.bgColor,
this.floatingLabelBehavior,
this.suffix,
this.prefix,
});