StreamUrlAttachment constructor
const
StreamUrlAttachment({
- Key? key,
- required Message message,
- required Attachment urlAttachment,
- required String hostDisplayName,
- required StreamMessageThemeData messageTheme,
- ShapeBorder? shape,
- BoxConstraints constraints = const BoxConstraints(),
Displays a URL attachment in a StreamMessageWidget.
Implementation
const StreamUrlAttachment({
super.key,
required this.message,
required this.urlAttachment,
required this.hostDisplayName,
required this.messageTheme,
this.shape,
this.constraints = const BoxConstraints(),
});