InputTextComponent constructor
const
InputTextComponent({
- dynamic onChanged()?,
- dynamic onSubmitted()?,
- dynamic onChangeObscureText()?,
- bool? enabled = true,
- String? errorText,
- TextEditingController? textEditingController,
- dynamic inputFormatters,
- Iterable<
String> ? autofillHints, - bool? obscureText,
- TextInputType? textInputType,
- bool autoFocus = false,
- FocusNode? focusNode,
- dynamic prefixIconData,
- String? hintText,
- String? labelText,
- String? helperText,
- bool showLabelAboveTextField = false,
- FloatingLabelBehavior floatingLabelBehavior = FloatingLabelBehavior.auto,
- Color? fillColor,
- Color? accentColor = Colors.grey,
- Color textColor = Colors.black,
- double borderRadius = 6,
- bool validator()?,
- bool showConfirmation = true,
- bool showError = true,
- double verticalPadding = 20,
- double horizontalPadding = 12,
- TextInputAction? textInputAction,
- Color? borderColor = Colors.grey,
- String? counterText = '',
- int? maxLength = 100,
- int? minLines,
- int? maxLines,
- Key? key,
Implementation
const InputTextComponent(
{this.onChanged,
this.onSubmitted,
this.onChangeObscureText,
this.enabled = true,
this.errorText,
this.textEditingController,
this.inputFormatters,
this.autofillHints,
this.obscureText,
this.textInputType,
this.autoFocus = false,
this.focusNode,
this.prefixIconData,
this.hintText,
this.labelText,
this.helperText,
this.showLabelAboveTextField = false,
this.floatingLabelBehavior = FloatingLabelBehavior.auto,
this.fillColor,
this.accentColor = Colors.grey,
this.textColor = Colors.black,
this.borderRadius = 6,
this.validator,
this.showConfirmation = true,
this.showError = true,
this.verticalPadding = 20,
this.horizontalPadding = 12,
this.textInputAction,
this.borderColor = Colors.grey,
this.counterText = '',
this.maxLength = 100,
this.minLines,
this.maxLines,
Key? key})
: super(key: key);