const
Widget.navigationBar(- {Key? key,
- Duration? animationDuration,
- @Default(0) int selectedIndex,
- required List<Widget> destinations,
- IntSelectionCallback? onDestinationSelected,
- Color? backgroundColor,
- double? elevation,
- Color? shadowColor,
- Color? surfaceTintColor,
- Color? indicatorColor,
- ShapeBorder? indicatorShape,
- double? height,
- NavigationDestinationLabelBehavior? labelBehavior}
)
Implementation
const factory Widget.navigationBar({
Key? key,
Duration? animationDuration,
@Default(0) int selectedIndex,
required List<Widget> destinations,
IntSelectionCallback? onDestinationSelected,
Color? backgroundColor,
double? elevation,
Color? shadowColor,
Color? surfaceTintColor,
Color? indicatorColor,
ShapeBorder? indicatorShape,
double? height,
NavigationDestinationLabelBehavior? labelBehavior,
}) = NavigationBar;