ChatInputBoxView constructor

ChatInputBoxView({
  1. Key? key,
  2. required Widget toolbox,
  3. required Widget multiOpToolbox,
  4. required ChatVoiceRecordBar voiceRecordBar,
  5. required Widget emojiView,
  6. Map<String, String> allAtMap = const <String, String>{},
  7. AtTextCallback? atCallback,
  8. TextEditingController? controller,
  9. FocusNode? focusNode,
  10. ValueChanged<String>? onSubmitted,
  11. TextStyle? style,
  12. TextStyle? atStyle,
  13. Subject? forceCloseToolboxSub,
  14. String? quoteContent,
  15. dynamic onClearQuote()?,
  16. bool multiMode = false,
  17. List<TextInputFormatter>? inputFormatters,
  18. bool showEmojiButton = true,
  19. bool showToolsButton = true,
  20. bool isGroupMuted = false,
  21. int muteEndTime = 0,
  22. Color? background,
  23. Color? iconColor,
  24. Color mutedIconColor = const Color(0xFFbdbdbd),
  25. bool isInBlacklist = false,
  26. Widget? speakIcon,
  27. Widget? emojiIcon,
  28. Widget? keyboardIcon,
  29. Widget? toolsIcon,
  30. Color? buttonColor,
  31. TextStyle? buttonTextStyle,
  32. double? buttonRadius,
})

Implementation

ChatInputBoxView({
  Key? key,
  required this.toolbox,
  required this.multiOpToolbox,
  required this.voiceRecordBar,
  required this.emojiView,
  this.allAtMap = const <String, String>{},
  this.atCallback,
  this.controller,
  this.focusNode,
  this.onSubmitted,
  this.style,
  this.atStyle,
  this.forceCloseToolboxSub,
  this.quoteContent,
  this.onClearQuote,
  this.multiMode = false,
  this.inputFormatters,
  this.showEmojiButton = true,
  this.showToolsButton = true,
  this.isGroupMuted = false,
  this.muteEndTime = 0,
  this.background,
  this.iconColor,
  this.mutedIconColor = const Color(0xFFbdbdbd),
  this.isInBlacklist = false,
  this.speakIcon,
  this.emojiIcon,
  this.keyboardIcon,
  this.toolsIcon,
  this.buttonColor,
  this.buttonTextStyle,
  this.buttonRadius,
}) : super(key: key);