NomoComponentColors.override constructor
NomoComponentColors.override(- {required NomoColors colors,
- dynamic outlineContainerTheme,
- dynamic appBarTheme,
- dynamic scaffoldTheme,
- dynamic bottomBarTheme,
- dynamic siderTheme,
)
Implementation
factory NomoComponentColors.override({
required NomoColors colors,
NomoOutlineContainerColorData? outlineContainerTheme,
NomoAppBarColorData? appBarTheme,
NomoScaffoldColorData? scaffoldTheme,
NomoBottomBarColorData? bottomBarTheme,
NomoSiderColorData? siderTheme,
NomoVerticalMenuColorData? verticalMenuTheme,
}) {
final def = defaultComponents(colors);
return NomoComponentColors._(
outlineContainerTheme: outlineContainerTheme ?? def.outlineContainerTheme,
appBarTheme: appBarTheme ?? def.appBarTheme,
scaffoldTheme: scaffoldTheme ?? def.scaffoldTheme,
bottomBarTheme: bottomBarTheme ?? def.bottomBarTheme,
siderTheme: siderTheme ?? def.siderTheme,
verticalMenuTheme: verticalMenuTheme ?? def.verticalMenuTheme,
);
}