Skip to content

🐛 Bug: onMessageTap / onMessageLongPress throws missing_default_value_for_parameter error #854

@einkaaf

Description

@einkaaf

When using the onMessageTap or onMessageLongPress callbacks in flutter_chat_ui, a Dart analyzer error occurs indicating that the details parameter cannot be null and must either be explicitly set as required or provided a default value.

This happens even when following the official examples from the documentation.

Image

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