view method

Widget view()

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,
        showCursor: showCursor,
        autoFocus: autoFocus,
        minLines: minLines,
        color: color,
        enabledColor: enabledColor,
        innerPadding: innerPadding,
        width: width,
        focusedColor: focusedColor,
        backgroundColor: backgroundColor,
        isUnderline: isUnderline,
        noInputBorder: noInputBorder,
        textInputType: textInputType,
        prefixIcon: prefixIcon,
        padding: padding,
        expands: expands,
      ),
      if (errorText != null && error)
        Padding(
          padding: const EdgeInsets.only(top: 14),
          child: Text(errorText!, style: errorStyle),
        )
    ],
  );
}