TNavbar constructor
const
TNavbar({
- Key? key,
- required List<
TNavItem> items, - Color? background,
- MainAxisAlignment alignment = MainAxisAlignment.spaceAround,
- double spacing = 0.0,
- EdgeInsets? padding = const EdgeInsets.symmetric(vertical: 10, horizontal: 20),
Creates a navigation bar.
Implementation
const TNavbar({
super.key,
required this.items,
this.background,
this.alignment = MainAxisAlignment.spaceAround,
this.spacing = 0.0,
this.padding = const EdgeInsets.symmetric(vertical: 10, horizontal: 20),
});