Hello @demchenkoalex
I can dive a bit into it but first would like to discuss the best option to handle linkPreviews in V2.
I think we can rely on the generic chatMessageBuilder and use the bottomWidget.
We could then bascially redo what was done in V1 and use flutter_link_previewer to create the widget.
It could work as-is but flutter_link_previewer depends on flutter_chat_types so it's a bit of an useless -oudated- dependency.
Would you be ok to make flutter_link_previewer depends on chat-core, or, even better, standalone ?
Note we have a type conflic between LinkPreview in chatCore and the LinkPreview Widget
Hello @demchenkoalex
I can dive a bit into it but first would like to discuss the best option to handle linkPreviews in V2.
I think we can rely on the generic
chatMessageBuilderand use thebottomWidget.We could then bascially redo what was done in V1 and use
flutter_link_previewerto create the widget.It could work as-is but
flutter_link_previewerdepends onflutter_chat_typesso it's a bit of an useless -oudated- dependency.Would you be ok to make
flutter_link_previewerdepends on chat-core, or, even better, standalone ?Note we have a type conflic between
LinkPreviewin chatCore and theLinkPreviewWidget