Skip to content

Fix listener API in ImageStreamΒ #32935

@tvolkert

Description

@tvolkert

The current API is broken in that you register multiple callbacks at once as a paired set of listeners, but when you remove listeners, only the primary (non-error) listener is used to determine the matching listener. This leads to unintuitive cases where the caller can get unexpected behavior.

See also: #24722

Metadata

Metadata

Assignees

Labels

c: API breakBackwards-incompatible API changesframeworkflutter/packages/flutter repository. See also f: labels.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions