DesignTabBar constructor
const
DesignTabBar({
- Key? key,
- required DesignTabController controller,
- required List<
DesignTab> tabs, - required DesignTabBuilder tabBuilder,
- DesignTabIndicatorBuilder? indicatorBuilder,
- bool isScrollable = false,
- Axis direction = Axis.horizontal,
- bool selectionFollowsFocus = true,
- String? semanticLabel,
- 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,
});