NomoBottomBarThemeData.from constructor

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

Implementation

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