NomoComponentSizes.override constructor
NomoComponentSizes.override(- {required NomoSizes sizes,
- dynamic outlineContainerTheme,
- dynamic appBarTheme,
- dynamic scaffoldTheme,
- dynamic bottomBarTheme,
- dynamic siderTheme,
)
Implementation
factory NomoComponentSizes.override({
required NomoSizes sizes,
NomoOutlineContainerSizingData? outlineContainerTheme,
NomoAppBarSizingData? appBarTheme,
NomoScaffoldSizingData? scaffoldTheme,
NomoBottomBarSizingData? bottomBarTheme,
NomoSiderSizingData? siderTheme,
NomoVerticalMenuSizingData? verticalMenuTheme,
}) {
final def = defaultComponents(sizes);
return NomoComponentSizes._(
outlineContainerTheme: outlineContainerTheme ?? def.outlineContainerTheme,
appBarTheme: appBarTheme ?? def.appBarTheme,
scaffoldTheme: scaffoldTheme ?? def.scaffoldTheme,
bottomBarTheme: bottomBarTheme ?? def.bottomBarTheme,
siderTheme: siderTheme ?? def.siderTheme,
verticalMenuTheme: verticalMenuTheme ?? def.verticalMenuTheme,
);
}