Skip to content

TabController.animateTo() should return future like ScrollController.animateTo() #19143

@SteveAlexander

Description

@SteveAlexander

ScrollController.animateTo() returns a Future, so that I can easily animate a scroll change, and then do something when we've arrived.

TabController.animateTo() is void, so I can't.

I would like these to have a more consistent signature, and I'd like to be able to easily do something after a TabController's animateTo has completed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work lista: animationAnimation APIsc: proposalA detailed proposal for a change to Flutterf: material designflutter/packages/flutter/material repository.frameworkflutter/packages/flutter repository. See also f: labels.team-designOwned by Design Languages teamtriaged-designTriaged by Design Languages team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions