dynamic_themes library
Classes
- DynamicTheme
- DynamicTheme handles building a widget in response to a new theme.
- ThemeCollection
- A collection of theme ID/ThemeData pairs, from which you retrieve a ThemeData using its associated theme ID.
Typedefs
- ThemedWidgetBuilder = Widget Function(BuildContext context, ThemeData themeData)
-
Signature for the
builder
function which takes the BuildContext and ThemeData as arguments and is responsible for returning a Widget in the corresponding theme.