Skip to content

Commit 43c81ff

Browse files
authored
CupertinoColors: Add diagrams (#103280)
1 parent 080f5d9 commit 43c81ff

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

packages/flutter/lib/src/cupertino/colors.dart

+20
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,26 @@ import 'theme.dart';
1717

1818
/// A palette of [Color] constants that describe colors commonly used when
1919
/// matching the iOS platform aesthetics.
20+
///
21+
/// ## Color palettes
22+
///
23+
/// ### Basic Colors
24+
/// ![](https://flutter.github.io/assets-for-api-docs/assets/cupertino/cupertino_basic_colors.png)
25+
///
26+
/// ### Active Colors
27+
/// ![](https://flutter.github.io/assets-for-api-docs/assets/cupertino/cupertino_active_colors.png)
28+
///
29+
/// ### System Colors
30+
/// ![](https://flutter.github.io/assets-for-api-docs/assets/cupertino/cupertino_system_colors_1.png)
31+
/// ![](https://flutter.github.io/assets-for-api-docs/assets/cupertino/cupertino_system_colors_2.png)
32+
/// ![](https://flutter.github.io/assets-for-api-docs/assets/cupertino/cupertino_system_colors_3.png)
33+
///
34+
/// ### Label Colors
35+
/// ![](https://flutter.github.io/assets-for-api-docs/assets/cupertino/cupertino_label_colors.png)
36+
///
37+
/// ### Background Colors
38+
/// ![](https://flutter.github.io/assets-for-api-docs/assets/cupertino/cupertino_background_colors.png)
39+
///
2040
class CupertinoColors {
2141
// This class is not meant to be instantiated or extended; this constructor
2242
// prevents instantiation and extension.

0 commit comments

Comments
 (0)