VTabIndicator constructor

const VTabIndicator({
  1. BorderSide borderSide = const BorderSide(width: 10.0, color: Colors.blue),
  2. TabController? tabController,
  3. double controlIndicatorHeight = 5,
  4. double indicatorBottom = 0.0,
  5. required double indicatorWidth,
})

Implementation

const VTabIndicator({
  // 设置下标高度、颜色
  this.borderSide = const BorderSide(width: 10.0, color: Colors.blue),
  this.tabController,
  this.controlIndicatorHeight = 5,
  this.indicatorBottom = 0.0,
  required this.indicatorWidth,
});