ChatInputBoxView constructor
ChatInputBoxView({
- Key? key,
- required Widget toolbox,
- required Widget multiOpToolbox,
- required ChatVoiceRecordBar voiceRecordBar,
- required Widget emojiView,
- Map<
String, String> allAtMap = const <String, String>{}, - AtTextCallback? atCallback,
- TextEditingController? controller,
- FocusNode? focusNode,
- ValueChanged<
String> ? onSubmitted, - TextStyle? style,
- TextStyle? atStyle,
- Subject? forceCloseToolboxSub,
- String? quoteContent,
- dynamic onClearQuote()?,
- bool multiMode = false,
- List<
TextInputFormatter> ? inputFormatters, - bool showEmojiButton = true,
- bool showToolsButton = true,
- bool isGroupMuted = false,
- int muteEndTime = 0,
- Color? background,
- Color? iconColor,
- Color mutedIconColor = const Color(0xFFbdbdbd),
- bool isInBlacklist = false,
- Widget? speakIcon,
- Widget? emojiIcon,
- Widget? keyboardIcon,
- Widget? toolsIcon,
- Color? buttonColor,
- TextStyle? buttonTextStyle,
- 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);