FitTextInput.multiline constructor

const FitTextInput.multiline({
  1. Key? key,
  2. TextEditingController? controller,
  3. bool autofocus = false,
  4. int maxLength = 255,
  5. TextInputAction? inputAction,
  6. required String label,
  7. bool markAsRequired = false,
  8. String hint = "",
  9. bool hideValue = false,
  10. Widget? suffix,
  11. FocusNode? focusNode,
  12. AutovalidateMode validationMode = AutovalidateMode.disabled,
  13. TextInputType keyboardType = TextInputType.multiline,
  14. TextCapitalization capitalization = TextCapitalization.sentences,
  15. List<TextInputFormatter>? formatters,
  16. String? validation(
    1. String?
    )?,
  17. dynamic onFieldSubmitted(
    1. String
    )?,
  18. dynamic onChange(
    1. String
    )?,
  19. EdgeInsets? margin,
  20. EdgeInsets? padding,
  21. int? maxLines,
  22. int? minLines,
  23. bool expand = true,
  24. double? width,
  25. double? height = 200,
  26. bool? readonly,
})

Creates a new FitTextInput, with presets to use allow multiple lines.

Implementation

const FitTextInput.multiline({
  super.key,
  this.controller,
  this.autofocus = false,
  this.maxLength = 255,
  this.inputAction,
  required this.label,
  this.markAsRequired = false,
  this.hint = "",
  this.hideValue = false,
  this.suffix,
  this.focusNode,
  this.validationMode = AutovalidateMode.disabled,
  this.keyboardType = TextInputType.multiline,
  this.capitalization = TextCapitalization.sentences,
  this.formatters,
  this.validation,
  this.onFieldSubmitted,
  this.onChange,
  this.margin,
  this.padding,
  this.maxLines,
  this.minLines,
  this.expand = true,
  this.width,
  this.height = 200,
  this.readonly,
});