FancyTextField constructor

const FancyTextField({
  1. Key? key,
  2. required String hint,
  3. String? iconPath,
  4. TextInputType? inputType,
  5. bool password = false,
  6. bool autoFocus = false,
  7. dynamic onChange(
    1. String value
    )?,
  8. TextEditingController? controller,
  9. String? errorText,
  10. Widget? trailingIcon,
  11. TextInputAction? textInputAction,
  12. bool enabled = true,
  13. int? maxLines,
  14. int? minLines,
  15. Widget? leading,
  16. EdgeInsets? padding,
  17. String? hidePasswordSvgPath,
  18. String? showPasswordSvgPath,
  19. List<TextInputFormatter>? inputFormatters,
  20. double? borderRadius,
  21. Color? backgroundColor,
  22. InputDecoration? inputDecoration,
  23. BoxDecoration? decoration,
  24. FocusNode? focusNode,
  25. Color? eyeColor,
  26. TextStyle? textStyle,
  27. 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);