overrideWith method
Implementation
NomoComponentSizes overrideWith(NomoComponentSizesNullable? nullable) {
if (nullable == null) return this;
return NomoComponentSizes(
outlineContainerSizing: NomoOutlineContainerSizingData.overrideWith(
outlineContainerSizing, nullable.outlineContainerSizing),
appBarSizing: NomoAppBarSizingData.overrideWith(
appBarSizing, nullable.appBarSizing),
scaffoldSizing: NomoScaffoldSizingData.overrideWith(
scaffoldSizing, nullable.scaffoldSizing),
bottomBarSizing: NomoBottomBarSizingData.overrideWith(
bottomBarSizing, nullable.bottomBarSizing),
siderSizing:
NomoSiderSizingData.overrideWith(siderSizing, nullable.siderSizing),
verticalMenuSizing: NomoVerticalMenuSizingData.overrideWith(
verticalMenuSizing, nullable.verticalMenuSizing),
routeBodySizing: NomoRouteBodySizingData.overrideWith(
routeBodySizing, nullable.routeBodySizing),
primaryButtonSizing: PrimaryNomoButtonSizingData.overrideWith(
primaryButtonSizing, nullable.primaryButtonSizing),
secondaryButtonSizing: SecondaryNomoButtonSizingData.overrideWith(
secondaryButtonSizing, nullable.secondaryButtonSizing),
textButtonSizing: NomoTextButtonSizingData.overrideWith(
textButtonSizing, nullable.textButtonSizing),
linkButtonSizing: NomoLinkButtonSizingData.overrideWith(
linkButtonSizing, nullable.linkButtonSizing),
expandableSizing: ExpandableSizingData.overrideWith(
expandableSizing, nullable.expandableSizing),
inputSizing:
NomoInputSizingData.overrideWith(inputSizing, nullable.inputSizing),
dialogSizing: NomoDialogSizingData.overrideWith(
dialogSizing, nullable.dialogSizing),
cardSizing:
NomoCardSizingData.overrideWith(cardSizing, nullable.cardSizing),
dividerSizing: NomoDividerSizingData.overrideWith(
dividerSizing, nullable.dividerSizing),
infoItemSizing: NomoInfoItemSizingData.overrideWith(
infoItemSizing, nullable.infoItemSizing),
notificationSizing: NomoNotificationSizingData.overrideWith(
notificationSizing, nullable.notificationSizing),
snackBarSizing: NomoSnackBarSizingData.overrideWith(
snackBarSizing, nullable.snackBarSizing),
dropDownButtonSizing: NomoDropDownButtonSizingData.overrideWith(
dropDownButtonSizing, nullable.dropDownButtonSizing),
elevationSizing: NomoElevationSizingData.overrideWith(
elevationSizing, nullable.elevationSizing),
dropDownMenuSizing: NomoDropDownMenuSizingData.overrideWith(
dropDownMenuSizing, nullable.dropDownMenuSizing),
);
}