FixedMaterialColor

Sealed Class
Exact pre-created standard swatch. Use this when you need to match Flutter's hard-coded tables exactly.

Properties

this[int]: Color
Resolves a shade by weight.

Constructors

FixedMaterialColor(primaryArgb: int, shade50: int, shade100: int, shade200: int, shade300: int, shade400: int, shade500: int, shade600: int, shade700: int, shade800: int, shade900: int, name: string)
FixedMaterialColor(primaryArgb: uint, shade50: uint, shade100: uint, shade200: uint, shade300: uint, shade400: uint, shade500: uint, shade600: uint, shade700: uint, shade800: uint, shade900: uint, name: string)

Methods

GetArgb(weight: int): int
Resolves a shade ARGB by weight.

Inherited Members

Extension Methods

DescribeIdentityShortHashToStringNullable

On this page