extendedTones constant
Extended tone values in a FlexTonalPalette.
The added tones 4, 6, 12, 17, 22 and 24 are for new dark mode surfaces in revised Material 3 dark surface colors. Likewise added tones 98, 96, 94, 92, 87 are for light mode surfaces in the updated Material 3 color system. For more information, see: https://m3.material.io/styles/color/the-color-system/color-roles The additional tones in the Material 3 specification appeared during later part of first half of 2023.
Tones 2, 5, 65, 75, 84 and 97 are not in old or new M3 spec, but FlexSeedScheme includes them to enable even more fidelity in dark and light tones.
Starting from Flutter 3.22 and FlexSeedScheme 2.0.0 the common tones should be avoided and extended tones used instead. The common tones are kept for backwards compatibility and for cases where the original M3 palette is needed. The FlexPaletteType.extended is the new default for all FlexTones.
Implementation
static const List<int> extendedTones = <int>[
0,
2,
4,
5,
6,
10,
12,
17,
20,
22,
24,
30,
40,
50,
60,
65,
70,
75,
80,
84,
87,
90,
92,
94,
95,
96,
97,
98,
99,
100,
];