RixaTextFieldFull constructor
const
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,
- bool showCursor = false,
- double? borderWidth,
- Color? color,
- EdgeInsetsGeometry? innerPadding,
- Color? enabledColor,
- Color? focusedColor,
- TextStyle? errorStyle,
- bool autoFocus = false,
- Color? backgroundColor,
- bool error = false,
- int? minLines,
- bool isUnderline = true,
- bool noInputBorder = false,
- TextInputType textInputType = TextInputType.text,
- Widget? prefixIcon,
- EdgeInsetsGeometry? padding,
- String? errorText,
- double paddingLeft = 0,
Implementation
const 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.showCursor = false,
this.borderWidth,
this.color,
this.innerPadding,
this.enabledColor,
this.focusedColor,
TextStyle? errorStyle,
this.autoFocus = false,
this.backgroundColor,
this.error = false,
this.minLines,
this.isUnderline = true,
this.noInputBorder = false,
this.textInputType = TextInputType.text,
this.prefixIcon,
this.padding,
this.errorText,
this.paddingLeft = 0,
}) : errorStyle = errorStyle ?? const TextStyle(color: Colors.red);