TabBarPage constructor

const TabBarPage({
  1. Key? key,
  2. List<PageTabItemModel> pages = const [],
  3. Key? contentKey,
  4. required IndexedWidgetBuilder tabitemBuilder,
  5. required TabPageController controller,
  6. num paddingTop = 0.0,
  7. bool isSwipable = false,
  8. bool isStack = false,
  9. bool isStackStill = false,
  10. bool isTabVisible = true,
  11. bool isTabPositionCenter = true,
  12. double tabHeight = 50,
  13. double tabWidth = double.infinity,
  14. double tabPositionPaddingLeft = 0.0,
  15. double tabTopRoundedRadius = 0.0,
  16. bool distributeTabEvenly = false,
  17. bool canScroll = false,
  18. Color tabBackgroundColor = Colors.white,
  19. Color tabContentBackgroundColor = Colors.transparent,
  20. Alignment tabAlignment = Alignment.center,
})

Implementation

const TabBarPage(
    {Key? key,
    this.pages = const [],
    this.contentKey,
    required this.tabitemBuilder,
    required this.controller,
    this.paddingTop = 0.0,
    this.isSwipable = false,
    this.isStack = false,
    this.isStackStill = false,
    this.isTabVisible = true,
    this.isTabPositionCenter = true,
    this.tabHeight = 50,
    this.tabWidth = double.infinity,
    this.tabPositionPaddingLeft = 0.0,
    this.tabTopRoundedRadius = 0.0,
    this.distributeTabEvenly = false,
    this.canScroll = false,
    this.tabBackgroundColor = Colors.white,
    this.tabContentBackgroundColor = Colors.transparent,
    this.tabAlignment = Alignment.center})
    : super(key: key);