const
NavigationBar(- {Key? key,
- Duration? animationDuration,
- 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 NavigationBar(
{final Key? key,
final Duration? animationDuration,
final int selectedIndex,
required final List<Widget> destinations,
final IntSelectionCallback? onDestinationSelected,
final Color? backgroundColor,
final double? elevation,
final Color? shadowColor,
final Color? surfaceTintColor,
final Color? indicatorColor,
final ShapeBorder? indicatorShape,
final double? height,
final NavigationDestinationLabelBehavior? labelBehavior}) =
_$NavigationBar;