view method

Widget view()

Implementation

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