Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No easy way to pause/resume an animation controller #3299

Closed
Hixie opened this issue Apr 13, 2016 · 3 comments
Closed

No easy way to pause/resume an animation controller #3299

Hixie opened this issue Apr 13, 2016 · 3 comments
Labels
a: animation Animation APIs c: new feature Nothing broken; request for a new capability framework flutter/packages/flutter repository. See also f: labels.

Comments

@Hixie
Copy link
Contributor

Hixie commented Apr 13, 2016

RenderToggleable really wants to be able to just pause/resume a controller during a detach/attach cycle.

@Hixie Hixie added team Infra upgrades, team productivity, code health, technical debt. See also team: labels. framework flutter/packages/flutter repository. See also f: labels. labels Apr 13, 2016
@Hixie Hixie added this to the Flutter 1.0 milestone Apr 13, 2016
@Hixie Hixie added c: new feature Nothing broken; request for a new capability a: animation Animation APIs and removed team Infra upgrades, team productivity, code health, technical debt. See also team: labels. labels Jan 6, 2018
@Hixie Hixie modified the milestones: 5: Make Hixie proud, 6: Future Future Jan 6, 2018
@Hixie
Copy link
Contributor Author

Hixie commented Jan 6, 2018

Doing this would probably mean giving Ticker some more fields to track pause/resume state, when the pause happened, how long has been cumulatively spent paused, etc.

@Hixie
Copy link
Contributor Author

Hixie commented Mar 17, 2020

Very few people have asked for this in practice, and generally it can be solved by moving the controller to a widget instead. So we're just going to close this for now.

@Hixie Hixie closed this as completed Mar 17, 2020
@lock
Copy link

lock bot commented Apr 2, 2020

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

@lock lock bot locked and limited conversation to collaborators Apr 2, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
a: animation Animation APIs c: new feature Nothing broken; request for a new capability framework flutter/packages/flutter repository. See also f: labels.
Projects
None yet
Development

No branches or pull requests

1 participant