ImageAttachment constructor
const
ImageAttachment({
- Key? key,
- required Message message,
- required Attachment attachment,
- required MessageThemeData messageTheme,
- Size? size,
- bool showTitle = false,
- ShowMessageCallback? onShowMessage,
- ValueChanged<
ReturnActionType> ? onReturnAction, - VoidCallback? onAttachmentTap,
Constructor for creating a ImageAttachment widget
Implementation
const ImageAttachment({
Key? key,
required Message message,
required Attachment attachment,
required this.messageTheme,
Size? size,
this.showTitle = false,
this.onShowMessage,
this.onReturnAction,
this.onAttachmentTap,
}) : super(
key: key,
message: message,
attachment: attachment,
size: size,
);