FancyTextField constructor
const
FancyTextField({
- Key? key,
- required String hint,
- String? iconPath,
- TextInputType? inputType,
- bool password = false,
- bool autoFocus = false,
- dynamic onChange(
- String value
- TextEditingController? controller,
- String? errorText,
- Widget? trailingIcon,
- TextInputAction? textInputAction,
- bool enabled = true,
- int? maxLines,
- int? minLines,
- Widget? leading,
- EdgeInsets? padding,
- String? hidePasswordSvgPath,
- String? showPasswordSvgPath,
- List<
TextInputFormatter> ? inputFormatters, - double? borderRadius,
- Color? backgroundColor,
- InputDecoration? inputDecoration,
- BoxDecoration? decoration,
- FocusNode? focusNode,
- Color? eyeColor,
- TextStyle? textStyle,
- TextStyle? hintStyle,
Implementation
const FancyTextField({
Key? key,
required this.hint,
this.iconPath,
this.inputType,
this.password = false,
this.autoFocus = false,
this.onChange,
this.controller,
this.errorText,
this.trailingIcon,
this.textInputAction,
this.enabled = true,
this.maxLines,
this.minLines,
this.leading,
this.padding,
this.hidePasswordSvgPath,
this.showPasswordSvgPath,
this.inputFormatters,
this.borderRadius,
this.backgroundColor,
this.inputDecoration,
this.decoration,
this.focusNode,
this.eyeColor,
this.textStyle,
this.hintStyle,
}) : super(key: key);