Skip to content

ThemeData.light()/ThemeData.dark() in M3 doesn't generate correct colors for some components. #111520

@QuncCccccc

Description

@QuncCccccc

If the ThemeData is set to ThemeData.light(useMaterial3: true), the colors in some components are not correct.

ThemeData.light(useMaterial3: true) and ThemeData.dark(useMaterial3: true):
Screen Shot 2022-09-13 at 3 59 00 PMScreen Shot 2022-09-13 at 3 57 49 PM

ThemeData(colorSchemeSeed: Colors.blue, useMaterial3: true):
Screen Shot 2022-09-13 at 3 31 23 PM

Metadata

Metadata

Assignees

Labels

f: material designflutter/packages/flutter/material repository.frameworkflutter/packages/flutter repository. See also f: labels.

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions