AtomicNavigationRail constructor
const
AtomicNavigationRail({
- Key? key,
- required List<
AtomicNavigationRailDestination> destinations, - required int selectedIndex,
- required ValueChanged<
int> onDestinationSelected, - Color? backgroundColor,
- double? elevation,
- bool extended = false,
- Widget? leading,
- Widget? trailing,
- double groupAlignment = 0.0,
- NavigationRailLabelType? labelType,
- TextStyle? unselectedLabelTextStyle,
- TextStyle? selectedLabelTextStyle,
- IconThemeData? unselectedIconTheme,
- IconThemeData? selectedIconTheme,
- double minWidth = 72.0,
- double minExtendedWidth = 256.0,
- bool useIndicator = true,
- Color? indicatorColor,
- ShapeBorder? indicatorShape,
Implementation
const AtomicNavigationRail({
super.key,
required this.destinations,
required this.selectedIndex,
required this.onDestinationSelected,
this.backgroundColor,
this.elevation,
this.extended = false,
this.leading,
this.trailing,
this.groupAlignment = 0.0,
this.labelType,
this.unselectedLabelTextStyle,
this.selectedLabelTextStyle,
this.unselectedIconTheme,
this.selectedIconTheme,
this.minWidth = 72.0,
this.minExtendedWidth = 256.0,
this.useIndicator = true,
this.indicatorColor,
this.indicatorShape,
});