ZetaThemeBuilder extension
A Dart extension on ZetaColorScheme
Allows the client to easily interface with the more verbose ThemeData class of Flutter and generate a theme configuration based on the simpler ZetaColorScheme object.
Methods
-
toTheme(
{String? fontFamily, ZetaAppBarStyle appBarStyle = ZetaAppBarStyle.primary}) → ThemeData - Converts the ZetaColorScheme to a ThemeData object.