TabIndicator constructor

const TabIndicator({
  1. BorderSide borderSide = const BorderSide(width: 2.0, color: Colors.white),
  2. TabController? tabController,
  3. double indicatorBottom = 0.0,
  4. double indicatorWidth = 4,
  5. double indicatorHeight = 4,
})

Implementation

const TabIndicator({
  // 设置下标高度、颜色
  this.borderSide = const BorderSide(width: 2.0, color: Colors.white),
  this.tabController,
  this.indicatorBottom = 0.0,
  this.indicatorWidth = 4,
  this.indicatorHeight = 4,
});