StreamMessageBubble constructor

StreamMessageBubble({
  1. Key? key,
  2. required Widget child,
  3. EdgeInsetsGeometry? padding,
  4. StreamMessageBubbleStyle? style,
})

Creates a message bubble.

The child is required. An optional style can override individual fields; unset fields fall back to theme, then to defaults.

Implementation

StreamMessageBubble({
  super.key,
  required Widget child,
  EdgeInsetsGeometry? padding,
  StreamMessageBubbleStyle? style,
}) : props = .new(child: child, padding: padding, style: style);