MessageBubble constructor
const
MessageBubble({
- Key? key,
- required MessageInfo message,
- required String conversationID,
- required bool isSelf,
- required double maxWidth,
- required MessageListConfigProtocol config,
- ValueChanged<
String> ? onLinkTapped, - required MessageListStore messageListStore,
- bool isHighlighted = false,
- VoidCallback? onHighlightComplete,
- List<
MessageCustomAction> customActions = const [], - bool isInMergedDetailView = false,
- AsrDisplayManager? asrDisplayManager,
- void onAsrBubbleLongPress(
- MessageInfo message,
- GlobalKey<
State< asrBubbleKeyStatefulWidget> >
- TranslationDisplayManager? translationDisplayManager,
- void onTranslationBubbleLongPress(
- MessageInfo message,
- GlobalKey<
State< translationBubbleKeyStatefulWidget> >
Implementation
const MessageBubble({
super.key,
required this.message,
required this.conversationID,
required this.isSelf,
required this.maxWidth,
required this.config,
this.onLinkTapped,
required this.messageListStore,
this.menuCallbacks,
this.isHighlighted = false,
this.onHighlightComplete,
this.customActions = const [],
this.isInMergedDetailView = false,
this.asrDisplayManager,
this.onAsrBubbleLongPress,
this.translationDisplayManager,
this.onTranslationBubbleLongPress,
});