Skip to content

Docs confusion: is MaterialColor.primary a color index or a color value? #14393

Description

@DaveShuckerow

Creating a MaterialColor, and it's not clear from the documentation if I should use a color from the swatch as the primary value or if I should use the index of a color in the swatch as the primary value.

Can this be clarified?

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions