RixaTextFieldFull constructor
RixaTextFieldFull({
- Key? key,
- required TextEditingController controller,
- String hintText = "",
- String? labelText,
- int flex = 1,
- TextStyle? textStyle,
- TextStyle? labelStyle,
- bool expands = false,
- int maxLines = 1,
- TextStyle? titleStyle,
- TextStyle? hintStyle,
- double radius = 10,
- double? width,
- double? borderWidth,
- Color? color,
- EdgeInsetsGeometry? innerPadding,
- Color? borderColor,
- Color? enabledColor,
- Color? focusedColor,
- TextStyle? errorStyle,
- Color? backgroundColor,
- bool error = false,
- dynamic onChanged,
- int? minLines,
- bool isUnderline = true,
- bool noInputBorder = false,
- TextInputType textInputType = TextInputType.text,
- Widget? prefixIcon,
- EdgeInsetsGeometry? padding,
- String? errorText,
- 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);