NavigationHubLayout.topNav constructor

NavigationHubLayout.topNav({
  1. bool? isScrollable = false,
  2. EdgeInsetsGeometry? padding,
  3. Color? indicatorColor,
  4. bool? automaticIndicatorColorAdjustment = true,
  5. double? indicatorWeight = 2.0,
  6. EdgeInsetsGeometry? indicatorPadding = EdgeInsets.zero,
  7. Decoration? indicator,
  8. TabBarIndicatorSize? indicatorSize,
  9. Color? dividerColor = const Color(0xEEEEEEFF),
  10. double? dividerHeight,
  11. Color? backgroundColor,
  12. Color? labelColor,
  13. TextStyle? labelStyle,
  14. EdgeInsetsGeometry? labelPadding,
  15. Color? unselectedLabelColor,
  16. TextStyle? unselectedLabelStyle,
  17. bool? showSelectedLabels,
  18. DragStartBehavior? dragStartBehavior = DragStartBehavior.start,
  19. Color? overlayColor,
  20. MouseCursor? mouseCursor,
  21. bool? enableFeedback,
  22. ScrollPhysics? physics,
  23. InteractiveInkFeatureFactory? splashFactory,
  24. BorderRadius? splashBorderRadius,
  25. TabAlignment? tabAlignment,
  26. TextScaler? textScaler,
  27. Duration? animationDuration,
  28. WidgetStateProperty<Color?>? overlayColorState,
})

Create a top navigation layout

Implementation

NavigationHubLayout.topNav(
    {this.isScrollable = false,
    this.padding,
    this.indicatorColor,
    this.automaticIndicatorColorAdjustment = true,
    this.indicatorWeight = 2.0,
    this.indicatorPadding = EdgeInsets.zero,
    this.indicator,
    this.indicatorSize,
    this.dividerColor = const Color(0xEEEEEEFF),
    this.dividerHeight,
    this.backgroundColor,
    this.labelColor,
    this.labelStyle,
    this.labelPadding,
    this.unselectedLabelColor,
    this.unselectedLabelStyle,
    this.showSelectedLabels,
    this.dragStartBehavior = DragStartBehavior.start,
    this.overlayColor,
    this.mouseCursor,
    this.enableFeedback,
    this.physics,
    this.splashFactory,
    this.splashBorderRadius,
    this.tabAlignment,
    this.textScaler,
    this.animationDuration,
    this.overlayColorState}) {
  kind = "topNav";
}