asList method
Returns a list of ARGB color int
s from concatenated tonal palettes.
Inverse of FlexCorePalette.fromList.
This fromList differs from MaterialColorUtilities version in CorePalette by including the error tonal colors last in the list.
Implementation
List<int> asList() => <int>[
...primary.asList,
...secondary.asList,
...tertiary.asList,
...neutral.asList,
...neutralVariant.asList,
...error.asList,
];