InputOptions constructor

const InputOptions({
  1. TextEditingController? textController,
  2. FocusNode? focusNode,
  3. TextStyle? textStyle,
  4. InputDecoration? decoration,
  5. int? maxLines = 5,
  6. int? minLines = 1,
  7. bool sendOnEnter = true,
  8. bool readOnly = false,
  9. bool autocorrect = true,
  10. EdgeInsets? margin,
  11. BoxDecoration? containerDecoration,
  12. Color? containerBackgroundColor = Colors.transparent,
  13. EdgeInsets? padding,
  14. EdgeInsets? containerPadding,
  15. double? inputHeight,
  16. double? inputContainerHeight,
  17. BoxConstraints? inputContainerConstraints,
  18. InputContainerWidth? inputContainerWidth,
  19. bool useOuterContainer = true,
  20. bool useOuterMaterial = false,
  21. double? materialElevation = 0,
  22. Color? materialColor,
  23. ShapeBorder? materialShape,
  24. EdgeInsets? materialPadding = const EdgeInsets.all(8.0),
  25. bool? useScaffoldBackground = false,
  26. TextDirection? inputTextDirection,
  27. double? positionedLeft,
  28. double? positionedRight,
  29. double? positionedBottom,
  30. double? positionedTop,
  31. double? blurStrength,
  32. bool clipBehavior = false,
  33. Widget sendButtonBuilder(
    1. VoidCallback onSend
    )?,
  34. Color? sendButtonColor,
  35. Color? sendButtonDisableColor,
  36. IconData? sendButtonIcon = Icons.send,
  37. double? sendButtonIconSize = 24.0,
  38. EdgeInsets? sendButtonPadding = const EdgeInsets.all(4.0),
  39. TextInputType? keyboardType = TextInputType.multiline,
  40. TextCapitalization textCapitalization = TextCapitalization.sentences,
  41. TextInputAction? textInputAction = TextInputAction.newline,
  42. TextDirection? textDirection,
  43. List<TextInputFormatter>? inputFormatters,
  44. bool enableSuggestions = true,
  45. bool enableIMEPersonalizedLearning = true,
  46. Color? cursorColor,
  47. double? cursorHeight,
  48. double? cursorWidth,
  49. Radius? cursorRadius,
  50. bool? showCursor,
  51. VoidCallback? onEditingComplete,
  52. ValueChanged<String>? onSubmitted,
  53. ValueChanged<String>? onChanged,
  54. GestureTapCallback? onTap,
  55. bool unfocusOnTapOutside = false,
  56. MouseCursor? mouseCursor,
  57. EditableTextContextMenuBuilder? contextMenuBuilder,
  58. UndoHistoryController? undoController,
  59. SpellCheckConfiguration? spellCheckConfiguration,
  60. TextMagnifierConfiguration? magnifierConfiguration,
  61. SmartDashesType? smartDashesType,
  62. SmartQuotesType? smartQuotesType,
  63. TextSelectionControls? selectionControls,
  64. Widget? voiceWidget,
})

Implementation

const InputOptions(
    {this.textController,
    this.focusNode,
    this.textStyle,
    this.decoration,
    this.maxLines = 5,
    this.minLines = 1,
    this.sendOnEnter = true,
    this.readOnly = false,
    this.autocorrect = true,
    this.margin,
    this.containerDecoration,
    this.containerBackgroundColor = Colors.transparent,
    this.padding,
    this.containerPadding,
    this.inputHeight,
    this.inputContainerHeight,
    this.inputContainerConstraints,
    this.inputContainerWidth,
    this.useOuterContainer = true,
    this.useOuterMaterial = false,
    this.materialElevation = 0,
    this.materialColor,
    this.materialShape,
    this.materialPadding = const EdgeInsets.all(8.0),
    this.useScaffoldBackground = false,
    this.inputTextDirection,
    this.positionedLeft,
    this.positionedRight,
    this.positionedBottom,
    this.positionedTop,
    this.blurStrength,
    this.clipBehavior = false,
    this.sendButtonBuilder,
    this.sendButtonColor,
    this.sendButtonDisableColor,
    this.sendButtonIcon = Icons.send,
    this.sendButtonIconSize = 24.0,
    this.sendButtonPadding = const EdgeInsets.all(4.0),
    this.keyboardType = TextInputType.multiline,
    this.textCapitalization = TextCapitalization.sentences,
    this.textInputAction = TextInputAction.newline,
    this.textDirection,
    this.inputFormatters,
    this.enableSuggestions = true,
    this.enableIMEPersonalizedLearning = true,
    this.cursorColor,
    this.cursorHeight,
    this.cursorWidth,
    this.cursorRadius,
    this.showCursor,
    this.onEditingComplete,
    this.onSubmitted,
    this.onChanged,
    this.onTap,
    this.unfocusOnTapOutside = false,
    this.mouseCursor,
    this.contextMenuBuilder,
    this.undoController,
    this.spellCheckConfiguration,
    this.magnifierConfiguration,
    this.smartDashesType,
    this.smartQuotesType,
    this.selectionControls,
    this.voiceWidget});