lerpNomoComponentSizes function
Implementation
NomoComponentSizes lerpNomoComponentSizes(
NomoComponentSizes a, NomoComponentSizes b, double t) {
return NomoComponentSizes(
outlineContainerSizing: NomoOutlineContainerSizingData.lerp(
a.outlineContainerSizing,
b.outlineContainerSizing,
t,
),
appBarSizing: NomoAppBarSizingData.lerp(
a.appBarSizing,
b.appBarSizing,
t,
),
scaffoldSizing: NomoScaffoldSizingData.lerp(
a.scaffoldSizing,
b.scaffoldSizing,
t,
),
bottomBarSizing: NomoBottomBarSizingData.lerp(
a.bottomBarSizing,
b.bottomBarSizing,
t,
),
siderSizing: NomoSiderSizingData.lerp(
a.siderSizing,
b.siderSizing,
t,
),
verticalMenuSizing: NomoVerticalMenuSizingData.lerp(
a.verticalMenuSizing,
b.verticalMenuSizing,
t,
),
routeBodySizing: NomoRouteBodySizingData.lerp(
a.routeBodySizing,
b.routeBodySizing,
t,
),
primaryButtonSizing: PrimaryNomoButtonSizingData.lerp(
a.primaryButtonSizing,
b.primaryButtonSizing,
t,
),
secondaryButtonSizing: SecondaryNomoButtonSizingData.lerp(
a.secondaryButtonSizing,
b.secondaryButtonSizing,
t,
),
textButtonSizing: NomoTextButtonSizingData.lerp(
a.textButtonSizing,
b.textButtonSizing,
t,
),
linkButtonSizing: NomoLinkButtonSizingData.lerp(
a.linkButtonSizing,
b.linkButtonSizing,
t,
),
expandableSizing: ExpandableSizingData.lerp(
a.expandableSizing,
b.expandableSizing,
t,
),
inputSizing: NomoInputSizingData.lerp(
a.inputSizing,
b.inputSizing,
t,
),
dialogSizing: NomoDialogSizingData.lerp(
a.dialogSizing,
b.dialogSizing,
t,
),
cardSizing: NomoCardSizingData.lerp(
a.cardSizing,
b.cardSizing,
t,
),
dividerSizing: NomoDividerSizingData.lerp(
a.dividerSizing,
b.dividerSizing,
t,
),
infoItemSizing: NomoInfoItemSizingData.lerp(
a.infoItemSizing,
b.infoItemSizing,
t,
),
notificationSizing: NomoNotificationSizingData.lerp(
a.notificationSizing,
b.notificationSizing,
t,
),
snackBarSizing: NomoSnackBarSizingData.lerp(
a.snackBarSizing,
b.snackBarSizing,
t,
),
dropDownButtonSizing: NomoDropDownButtonSizingData.lerp(
a.dropDownButtonSizing,
b.dropDownButtonSizing,
t,
),
elevationSizing: NomoElevationSizingData.lerp(
a.elevationSizing,
b.elevationSizing,
t,
),
dropDownMenuSizing: NomoDropDownMenuSizingData.lerp(
a.dropDownMenuSizing,
b.dropDownMenuSizing,
t,
),
);
}