Skip to content

Clarify how primaryColor can be used on 'Use themes to share colors and font styles' page #7341

@fluffy11lol

Description

@fluffy11lol

Page URL

https://docs.flutter.dev/cookbook/design/themes#interactive-example

Page source

https://github.com/flutter/website/tree/main/src/cookbook/design/themes.md

Describe the problem

Hello, I found mistakeful code line in your example. https://docs.flutter.dev/cookbook/design/themes#interactive-example
19 line(primaryColor: Colors.lightBlue[800]) does nothing. I tested it on my Phone, emulator, and your interactive example. Any color parameters change nothing in UI.
image
image

Expected fix

You should rebuild this example.

Additional context

No response

Metadata

Metadata

Assignees

Labels

a.cookbookRelates to a cookbook recipe or guidecl.fixedIssue is closed as fixede2-daysEffort: < 5 daysfix.examplesAdds or changes examplefrom.page-issueReported in a reader-filed concernp2-mediumNecessary but not urgent concern. Resolve when possible.t.ui.com.materialRelates to Material design componentst.ui.com.material3Relates to Material 3 design componentst.ui.generalRelates to general Flutter app UI topics

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions