Skip to content

Theme animation customization #70723

Closed
Closed

Description

@nt4f04uNd

Problems

Now flutter by default animates any theme changes. I would like to disable them, because this causes huge frame drops. Moreover I can't change it to some custom one that I would like to. For example, my intention was to use custom theme animation through the package animated_theme_switcher, but it will end up in even more huge performance issues, as I can't disable the default one.
Theme is so integrated into the framework and its animation doesn't have any customization options, that's so much frustrating.

upd i addressed framedrops by removing Theme.of(context) calls in my code and replacing them with static theme variable. the feature request is still valid though

Proposal

Flutter should allow to disable the default theme animation and also to change its parameters.

Activity

  1. added
    p: material_uimaterial_ui package in flutter/packages
    frameworkflutter/packages/flutter repository. See also f: labels.
    c: proposalA detailed proposal for a change to Flutter
    on Nov 18, 2020
  2. nt4f04uNd commented on Mar 17, 2021

    @nt4f04uNd
    MemberAuthor

    closing per #78372 (comment)

  3. github-actions commented on Aug 4, 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.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    a: animationAnimation APIsc: proposalA detailed proposal for a change to Flutterframeworkflutter/packages/flutter repository. See also f: labels.p: material_uimaterial_ui package in flutter/packagesr: duplicateIssue is closed as a duplicate of an existing issue

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions