NomoBottomBar constructor
const
NomoBottomBar(- {dynamic key,
- double? height,
- required List items,
- required dynamic selected,
- dynamic style,
- void onTap(
- dynamic item
)?,
- dynamic title,
- dynamic background,
- dynamic foreground,
- dynamic selectedForeground,
- dynamic borderRadius,
- double? spacing,
- dynamic padding,
- double? iconSize,
- 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",
);