NiceChatInput constructor
const
NiceChatInput({
- Key? key,
- void onSend(
- String message
- void onTextChanged(
- String message
- VoidCallback? onAttachment,
- VoidCallback? onVoice,
- VoidCallback? onEmoji,
- String? hintText,
- String? initialText,
- int maxLines = 5,
- bool showAttachment = true,
- bool showVoice = false,
- bool showEmoji = true,
- bool enabled = true,
- FocusNode? focusNode,
- Widget? leading,
- Widget? trailing,
Implementation
const NiceChatInput({
super.key,
this.onSend,
this.onTextChanged,
this.onAttachment,
this.onVoice,
this.onEmoji,
this.hintText,
this.initialText,
this.maxLines = 5,
this.showAttachment = true,
this.showVoice = false,
this.showEmoji = true,
this.enabled = true,
this.focusNode,
this.leading,
this.trailing,
});