Skip to content

AnimationStyle.noAnimation needs to replace AnimatedTheme with just Theme in the MaterialApp #138618

@TahaTesser

Description

@TahaTesser

Is there an existing issue for this?

Use case

MaterialApp(themeAnimationStyle: AnimationStyle.noAnimation)) should remove AnimatedTheme from widget tree.

When doing so was breaking a lot of tests but turns out it AnimatedTheme needed to be replaced with just Theme when using AnimationStyle.noAnimation.

Proposal

Replace AnimatedTheme with just Theme when using AnimationStyle.noAnimation in the MaterialApp.themeAnimationStyle

Metadata

Metadata

Assignees

Labels

a: qualityA truly polished experiencec: proposalA detailed proposal for a change to Flutterf: material designflutter/packages/flutter/material repository.frameworkflutter/packages/flutter repository. See also f: labels.r: fixedIssue is closed as already fixed in a newer versionteam-designOwned by Design Languages team

Type

No type

Projects

Status

Done (PR merged)

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions