InputTextComponent constructor

const InputTextComponent({
  1. dynamic onChanged(
    1. String
    )?,
  2. dynamic onSubmitted(
    1. String
    )?,
  3. dynamic onChangeObscureText(
    1. bool
    )?,
  4. bool? enabled = true,
  5. String? errorText,
  6. TextEditingController? textEditingController,
  7. dynamic inputFormatters,
  8. Iterable<String>? autofillHints,
  9. bool? obscureText,
  10. TextInputType? textInputType,
  11. bool autoFocus = false,
  12. FocusNode? focusNode,
  13. dynamic prefixIconData,
  14. String? hintText,
  15. String? labelText,
  16. String? helperText,
  17. bool showLabelAboveTextField = false,
  18. FloatingLabelBehavior floatingLabelBehavior = FloatingLabelBehavior.auto,
  19. Color? fillColor,
  20. Color? accentColor = Colors.grey,
  21. Color textColor = Colors.black,
  22. double borderRadius = 6,
  23. bool validator(
    1. String
    )?,
  24. bool showConfirmation = true,
  25. bool showError = true,
  26. double verticalPadding = 20,
  27. double horizontalPadding = 12,
  28. TextInputAction? textInputAction,
  29. Color? borderColor = Colors.grey,
  30. String? counterText = '',
  31. int? maxLength = 100,
  32. int? minLines,
  33. int? maxLines,
  34. 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);