Tabs constructor

const Tabs({
  1. Key? key,
  2. Widget? addIcon,
  3. bool animated = true,
  4. bool centered = false,
  5. required List<TabPane> children,
  6. TabsController? controller,
  7. bool hideAdd = false,
  8. Widget? moreIcon,
  9. Widget renderTabBar()?,
  10. Size size = Size.medium,
  11. Widget? tabBarExtraContent,
  12. double? tabBarGutter,
  13. Placement tabPosition = Placement.top,
  14. bool destroyInactiveTab = false,
  15. TabsType type = TabsType.line,
  16. void onChange(
    1. String activeKey
    )?,
  17. void onEdit()?,
  18. void onTabClick(
    1. String key
    )?,
  19. 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);