Skip to content

Split AnimationController into two #7218

@Hixie

Description

@Hixie

I think we should consider splitting AnimationController into two, one for straight-forward linear progress on a tick for a duration, and one for driving a Simulation. They can both be Animation<double>s. This would simplify the API, which right now is a hodge-podge of unrelated features to be able to handle both modes in one class.

In practice nothing but scrolling uses the Simulation-driven controller right now as far as I can tell.

Metadata

Metadata

Assignees

Labels

c: API breakBackwards-incompatible API changesc: contributor-productivityTeam-specific productivity, code health, technical debt.frameworkflutter/packages/flutter repository. See also f: labels.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions