Skip to content

Unused variable in the example of FilterChip. #121028

@your-diary

Description

@your-diary

While reading the official documentation of FilterChip, I found an unused variable in the example: bool favorite = false;.

I don't tell if this variable is actually needed (e.g. injection or reflection purpose in test phase), so I'm posting this as an issue rather than a pull request.

location: examples/api/lib/material/filter_chip/filter_chip.0.dart

Metadata

Metadata

Assignees

Labels

d: examplesSample code and demosf: material designflutter/packages/flutter/material repository.frameworkflutter/packages/flutter repository. See also f: labels.r: fixedIssue is closed as already fixed in a newer version

Type

No type

Projects

Status

Done (PR merged)

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions