You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
note for FAccordionStyle "Each Forui widget has a corresponding style.\nWe use FAccordionStyle here as an example."
80
85
86
+
note for FAccordionMotion "Some Forui widgets have a motion which controls its animation
87
+
properties. We use FAccordionMotion here as an example."
88
+
81
89
FAnimatedTheme --> FThemeData
82
90
FThemeData --> FColors
83
91
FThemeData --> FTypography
84
92
FThemeData --> FStyle
85
93
FThemeData --> FAccordionStyle
86
94
```
87
95
88
-
There are **5** core components in Forui's theming system.
96
+
There are **6** core components in Forui's theming system.
89
97
90
98
-**[`FAnimatedTheme`](https://pub.dev/documentation/forui/latest/forui.theme/FAnimatedTheme-class.html)**: The root widget that provides the theme data to all widgets in the subtree.
91
99
-**[`FThemeData`](https://pub.dev/documentation/forui/latest/forui.theme/FThemeData-class.html)**: Main class that holds:
92
100
-**[`FColors`](https://pub.dev/documentation/forui/latest/forui.theme/FColors-class.html)**: Color scheme including primary, foreground, and background colors.
93
101
-**[`FTypography`](https://pub.dev/documentation/forui/latest/forui.theme/FTypography-class.html)**: Typography settings including font family and text styles.
94
102
-**[`FStyle`](https://pub.dev/documentation/forui/latest/forui.theme/FStyle-class.html)**: Misc. options such as border radius and icon size.
95
-
-**Individual widget styles**.
103
+
- Individual widget styles.
104
+
- Individual widget motions.
96
105
97
106
98
107
The included `BuildContext` extension allows `FThemeData` can be accessed via [`context.theme`](https://pub.dev/documentation/forui/latest/forui.theme/FThemeBuildContext.html):
0 commit comments