Skip to content

missing usernameBuilder #2753

Description

@szechyjs

Which packages are you using?

stream_chat_flutter

On what platforms did you experience the issue?

iOS

What version are you using?

v10.0.1

What happened?

Back in the v9 package we were able to do:

bottomRowBuilderWithDefaultWidget: (context, message, defaultBottomRow) {
  return defaultBottomRow.copyWith(
    usernameBuilder: (context, message) {
      // Custom logic here
      return MyCustomUsernameWidget;
    }
  );
}

Now in v10 it seems the only tools available are messageMetadata or messageFooter for overriding the footer widget. The problem with these is they require you to replace the entire widget and not inherit any of the default widget as its part of the internal core package.

Please bring back some of these footer builders or move things like DefaultStreamMessageMetadata out of internal/core.

Steps to reproduce

See above.

Supporting info to reproduce

No response

Relevant log output

Flutter analyze output

Flutter doctor output

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions