view method
Implementation
Widget view() {
return Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
RixaTextField(
hintText: hintText,
labelText: labelText,
controller: controller,
maxLines: maxLines,
textStyle: textStyle,
labelStyle: labelStyle,
hintStyle: hintStyle,
radius: radius,
borderWidth: borderWidth,
minLines: minLines,
color: color,
borderColor: borderColor,
enabledColor: enabledColor,
innerPadding: innerPadding,
width: width,
focusedColor: focusedColor,
backgroundColor: backgroundColor,
onChanged: onChanged,
isUnderline: isUnderline,
noInputBorder: noInputBorder,
textInputType: textInputType,
prefixIcon: prefixIcon,
padding: padding,
expands: expands,
),
if (errorText != null && error) Text(errorText!, style: errorStyle)
],
);
}