Skip to content

[Proposal] Deprecate ThemeData.copyWith's colorScheme and useMaterial3 arguments #131041

@guidezpl

Description

@guidezpl

These can cause confusion due to the way certain defaults are constructed. One or both should be deprecated in favor of using the constructor, e.g.

ThemeData().copyWith(colorScheme: ...)
// becomes
ThemeData(colorScheme: ...)

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listc: 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 team

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions