NomoBottomBar constructor

const NomoBottomBar(
  1. {dynamic key,
  2. double? height,
  3. required List items,
  4. required dynamic selected,
  5. dynamic style,
  6. void onTap(
    1. dynamic item
    )?,
  7. dynamic title,
  8. dynamic background,
  9. dynamic foreground,
  10. dynamic selectedForeground,
  11. dynamic borderRadius,
  12. double? spacing,
  13. dynamic padding,
  14. double? iconSize,
  15. dynamic itemPadding}
)

Implementation

const NomoBottomBar({
  super.key,
  this.height,
  required this.items,
  required this.selected,
  this.style,
  this.onTap,
  this.title,
  this.background,
  this.foreground,
  this.selectedForeground,
  this.borderRadius,
  this.spacing,
  this.padding,
  this.iconSize,
  this.itemPadding,
}) : assert(
        items.length > 0 && items.length <= 5,
        "Items must be between 1 and 5",
      );