ChatInputToolbar constructor
ChatInputToolbar({
- Key? key,
- TextDirection textDirection = TextDirection.ltr,
- FocusNode? focusNode,
- ScrollController? scrollController,
- String? text,
- TextInputAction? textInputAction,
- bool sendOnEnter = false,
- dynamic onTextChange()?,
- bool inputDisabled = false,
- TextEditingController? controller,
- List<
Widget> leading = const [], - List<
Widget> trailling = const [], - InputDecoration? inputDecoration,
- TextCapitalization? textCapitalization,
- TextStyle? inputTextStyle,
- BoxDecoration? inputContainerStyle,
- int inputMaxLines = 1,
- bool showInputCursor = true,
- int? maxInputLength,
- double inputCursorWidth = 2.0,
- Color? inputCursorColor,
- dynamic onSend()?,
- bool reverse = false,
- required ChatUser user,
- bool alwaysShowSend = false,
- String messageIdGenerator()?,
- Widget sendButtonBuilder()?,
- bool showTraillingBeforeSend = true,
- EdgeInsets inputToolbarPadding = const EdgeInsets.all(0.0),
- EdgeInsets inputToolbarMargin = const EdgeInsets.all(0.0),
Implementation
ChatInputToolbar({
Key? key,
this.textDirection = TextDirection.ltr,
this.focusNode,
this.scrollController,
this.text,
this.textInputAction,
this.sendOnEnter = false,
this.onTextChange,
this.inputDisabled = false,
this.controller,
this.leading = const [],
this.trailling = const [],
this.inputDecoration,
this.textCapitalization,
this.inputTextStyle,
this.inputContainerStyle,
this.inputMaxLines = 1,
this.showInputCursor = true,
this.maxInputLength,
this.inputCursorWidth = 2.0,
this.inputCursorColor,
this.onSend,
this.reverse = false,
required this.user,
this.alwaysShowSend = false,
this.messageIdGenerator,
this.inputFooterBuilder,
this.sendButtonBuilder,
this.showTraillingBeforeSend = true,
this.inputToolbarPadding = const EdgeInsets.all(0.0),
this.inputToolbarMargin = const EdgeInsets.all(0.0),
}) : super(key: key);