NiceNavRail constructor
const
NiceNavRail({
- Key? key,
- required List<
NiceNavRailItem> items, - required int selectedIndex,
- ValueChanged<
int> ? onDestinationSelected, - Widget? leading,
- Widget? trailing,
- bool extended = false,
- double minWidth = 72,
- double minExtendedWidth = 200,
- Color? backgroundColor,
- Color? selectedIconColor,
- Color? unselectedIconColor,
Implementation
const NiceNavRail({
super.key,
required this.items,
required this.selectedIndex,
this.onDestinationSelected,
this.leading,
this.trailing,
this.extended = false,
this.minWidth = 72,
this.minExtendedWidth = 200,
this.backgroundColor,
this.selectedIconColor,
this.unselectedIconColor,
});