DesignTabBar constructor

const DesignTabBar({
  1. Key? key,
  2. required DesignTabController controller,
  3. required List<DesignTab> tabs,
  4. required DesignTabBuilder tabBuilder,
  5. DesignTabIndicatorBuilder? indicatorBuilder,
  6. bool isScrollable = false,
  7. Axis direction = Axis.horizontal,
  8. bool selectionFollowsFocus = true,
  9. String? semanticLabel,
  10. DecorationPosition indicatorPosition = DecorationPosition.background,
})

A bar of tabs, one per controller tab.

Implementation

const DesignTabBar({
  super.key,
  required this.controller,
  required this.tabs,
  required this.tabBuilder,
  this.indicatorBuilder,
  this.isScrollable = false,
  this.direction = Axis.horizontal,
  this.selectionFollowsFocus = true,
  this.semanticLabel,
  this.indicatorPosition = DecorationPosition.background,
});