Skip to content

ScrollbarPainter clean up #107181

@Piinks

Description

@Piinks

The scrollbar painter has a bit of code rot.

While working on #13253, I found it hard to follow the painter logic and found several little bugs. This really needs a clean up to make it easier to work with. Some of the bugs I found have to do with padding and margins, these should likely be wrapped in consistent getters to use across the all of the painter methods.

Found bugs:

Fix is in #107179

Metadata

Metadata

Assignees

Labels

P1High-priority issues at the top of the work listc: contributor-productivityTeam-specific productivity, code health, technical debt.c: tech-debtTechnical debt, code quality, testing, etc.f: scrollingViewports, list views, slivers, etc.frameworkflutter/packages/flutter repository. See also f: labels.waiting for PR to land (fixed)A fix is in flight

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions