Skip to content

Implement linkPreview in v2 #758

@nicolasbraun

Description

@nicolasbraun

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions