CustomTextField constructor
const
CustomTextField(
- String? label,
- TextEditingController? controller,
- FocusNode focusNode, {
- Key? key,
- bool? enabled,
- TextInputType? keyboardType,
- TextCapitalization? textCapitalization,
- bool? obscure,
- TextInputAction? textInputAction,
- FocusNode? nextFocusNode,
- Widget? suffixIcon,
- Widget? prefixIcon,
- Color? colorText,
- bool? expands,
- String? hint,
- dynamic onChange()?,
- dynamic onSubmit()?,
- int? maxLines,
- int? minLines,
- int? maxLength,
- List<
TextInputFormatter> ? inputFormatters, - String? error,
- String? helpMessage,
- bool? showPrefixSeparator = false,
- bool? showSuffixSeparator = false,
- bool? loading = false,
- bool? ignorePointer = false,
- bool? isSmall = false,
- Color? borderColor,
- Color? bgColor,
Implementation
const CustomTextField(this.label, this.controller, this.focusNode,
{Key? key,
this.enabled,
this.keyboardType,
this.textCapitalization,
this.obscure,
this.textInputAction,
this.nextFocusNode,
this.suffixIcon,
this.prefixIcon,
this.colorText,
this.expands,
this.hint,
this.onChange,
this.onSubmit,
this.maxLines,
this.minLines,
this.maxLength,
this.inputFormatters,
this.error,
this.helpMessage,
this.showPrefixSeparator = false,
this.showSuffixSeparator = false,
this.loading = false,
this.ignorePointer = false,
this.isSmall = false,
this.borderColor,
this.bgColor})
: super(key: key);