Skip to content

Generic version of the ScaleTransition and RotationTransition #130946

@gmilou

Description

@gmilou

In: https://github.com/flutter/flutter/blob/master/packages/flutter/lib/src/widgets/transitions.dart

ScaleTransition and RotationTransition have duplicate code for the the alignment and filterQuality logic.
A more generic animation to Matrix Transition could both factor the duplicate code, and provide an easy way to make more Matrix based animations.

This is a proposal to make a new generic MatrixTransition class, with the common code, and make ScaleTransition and RotationTransition special cases of it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Issues that are less important to the Flutter projecta: animationAnimation APIsc: new featureNothing broken; request for a new capabilityc: proposalA detailed proposal for a change to Flutterframeworkflutter/packages/flutter repository. See also f: labels.r: fixedIssue is closed as already fixed in a newer versionteam-frameworkOwned by Framework team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions