UDefaultTabBar constructor

const UDefaultTabBar({
  1. required List<Widget> children,
  2. required Widget tabBar,
  3. Key? key,
  4. double? width,
  5. double? height,
  6. TabController? controller,
  7. ScrollPhysics? physics,
  8. int initialIndex = 0,
  9. Color? indicatorColor,
  10. TextStyle? labelStyle,
  11. TextStyle? unselectedLabelStyle,
  12. double indicatorWeight = 2.0,
  13. bool isScrollable = false,
  14. DragStartBehavior dragStartBehavior = DragStartBehavior.start,
  15. double viewportFraction = 1.0,
  16. BoxConstraints? constraints,
})

Implementation

const UDefaultTabBar({
  required this.children,
  required this.tabBar,
  super.key,
  this.width,
  this.height,
  this.controller,
  this.physics,
  this.initialIndex = 0,
  this.indicatorColor,
  this.labelStyle,
  this.unselectedLabelStyle,
  this.indicatorWeight = 2.0,
  this.isScrollable = false,
  this.dragStartBehavior = DragStartBehavior.start,
  this.viewportFraction = 1.0,
  this.constraints,
});