Tabs constructor
const
Tabs({
- Key? key,
- Widget? addIcon,
- bool animated = true,
- bool centered = false,
- required List<
TabPane> children, - TabsController? controller,
- bool hideAdd = false,
- Widget? moreIcon,
- Widget renderTabBar()?,
- Size size = Size.medium,
- Widget? tabBarExtraContent,
- double? tabBarGutter,
- Placement tabPosition = Placement.top,
- bool destroyInactiveTab = false,
- TabsType type = TabsType.line,
- void onChange(
- String activeKey
- void onEdit()?,
- void onTabClick(
- String key
- void onTabScroll()?,
Implementation
const Tabs({
Key? key,
this.addIcon,
this.animated = true,
this.centered = false,
required this.children,
this.controller,
this.hideAdd = false,
this.moreIcon,
this.renderTabBar,
this.size = Size.medium,
this.tabBarExtraContent,
this.tabBarGutter,
this.tabPosition = Placement.top,
this.destroyInactiveTab = false,
this.type = TabsType.line,
this.onChange,
this.onEdit,
this.onTabClick,
this.onTabScroll,
}) : super(key: key);