NomoBottomBarThemeData.from constructor

NomoBottomBarThemeData.from(
  1. NomoBottomBarColorData colors,
  2. NomoBottomBarSizingData sizing
)

Implementation

factory NomoBottomBarThemeData.from(
  NomoBottomBarColorData colors,
  NomoBottomBarSizingData sizing,
) {
  return NomoBottomBarThemeData(
    foreground: colors.foreground,
    background: colors.background,
    selectedForeground: colors.selectedForeground,
    borderRadius: colors.borderRadius,
    height: sizing.height,
    spacing: sizing.spacing,
    iconSize: sizing.iconSize,
    padding: sizing.padding,
    itemPadding: sizing.itemPadding,
  );
}