RixaTextFieldFull constructor

RixaTextFieldFull({
  1. Key? key,
  2. required TextEditingController controller,
  3. String hintText = "",
  4. String? labelText,
  5. int flex = 1,
  6. TextStyle? textStyle,
  7. TextStyle? labelStyle,
  8. bool expands = false,
  9. int maxLines = 1,
  10. TextStyle? titleStyle,
  11. TextStyle? hintStyle,
  12. double radius = 10,
  13. double? width,
  14. double? borderWidth,
  15. Color? color,
  16. EdgeInsetsGeometry? innerPadding,
  17. Color? borderColor,
  18. Color? enabledColor,
  19. Color? focusedColor,
  20. TextStyle? errorStyle,
  21. Color? backgroundColor,
  22. bool error = false,
  23. dynamic onChanged,
  24. int? minLines,
  25. bool isUnderline = true,
  26. bool noInputBorder = false,
  27. TextInputType textInputType = TextInputType.text,
  28. Widget? prefixIcon,
  29. EdgeInsetsGeometry? padding,
  30. String? errorText,
  31. double paddingLeft = 0,
})

Implementation

RixaTextFieldFull({
  super.key,
  required this.controller,
  this.hintText = "",
  this.labelText,
  this.flex = 1,
  this.textStyle,
  this.labelStyle,
  this.expands = false,
  this.maxLines = 1,
  this.titleStyle,
  this.hintStyle,
  this.radius = 10,
  this.width,
  this.borderWidth,
  this.color,
  this.innerPadding,
  this.borderColor,
  this.enabledColor,
  this.focusedColor,
  TextStyle? errorStyle,
  this.backgroundColor,
  this.error = false,
  this.onChanged,
  this.minLines,
  this.isUnderline = true,
  this.noInputBorder = false,
  this.textInputType = TextInputType.text,
  this.prefixIcon,
  this.padding,
  this.errorText,
  this.paddingLeft = 0,
}) : errorStyle = errorStyle ?? Get.find<AppFonts>().xS(color: Colors.red);