Skip to content

AnimatedValue should not be mutable #216

Description

@FlutterIssues

Issue by Hixie
Wednesday Oct 21, 2015 at 16:51 GMT
Originally opened as https://github.com/flutter/engine/issues/1709


Rather than AnimatedValue being mutable, it should just represent a begin/end range and have an API that, given a value 0.0..1.0, returns a lerp over that range.

Alternatively, we could make AnimatedValue take an object that represents 0..1, a direction, and a change notification API, and exposes a value in the range begin..end and a change notification API. That way you would just plug AnimatedValues straight into the things they were animated by.

Activity

  1. added this to the milestone on Nov 9, 2015
  2. added
    frameworkflutter/packages/flutter repository. See also f: labels.
    on Nov 9, 2015
  3. self-assigned this
    on Nov 18, 2015
  4. abarth commented on Jan 21, 2016

    @abarth
    Contributor

    Fixed.

  5. github-actions commented on Aug 17, 2021

    @github-actions

    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.

  6. locked as resolved and limited conversation to collaborators on Aug 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

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

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions