const
NavigationRail(- {Key? key,
- Color? backgroundColor,
- bool extended,
- Widget? leading,
- Widget? trailing,
- required List<NavigationRailDestination> destinations,
- required int? selectedIndex,
- IntSelectionCallback? onDestinationSelected,
- double? elevation,
- double? groupAlignment,
- NavigationRailLabelType? labelType,
- TextStyle? unselectedLabelTextStyle,
- TextStyle? selectedLabelTextStyle,
- IconThemeData? unselectedIconTheme,
- IconThemeData? selectedIconTheme,
- double? minWidth,
- double? minExtendedWidth,
- bool? useIndicator,
- Color? indicatorColor,
- ShapeBorder? indicatorShape}
)
Implementation
const factory NavigationRail(
{final Key? key,
final Color? backgroundColor,
final bool extended,
final Widget? leading,
final Widget? trailing,
required final List<NavigationRailDestination> destinations,
required final int? selectedIndex,
final IntSelectionCallback? onDestinationSelected,
final double? elevation,
final double? groupAlignment,
final NavigationRailLabelType? labelType,
final TextStyle? unselectedLabelTextStyle,
final TextStyle? selectedLabelTextStyle,
final IconThemeData? unselectedIconTheme,
final IconThemeData? selectedIconTheme,
final double? minWidth,
final double? minExtendedWidth,
final bool? useIndicator,
final Color? indicatorColor,
final ShapeBorder? indicatorShape}) = _$NavigationRail;