TabPageSelector constructor

const TabPageSelector(
  1. {Key? key,
  2. TabController? controller,
  3. double indicatorSize = 12.0,
  4. Color? color,
  5. Color? selectedColor,
  6. BorderStyle? borderStyle}
)

Creates a compact widget that indicates which tab has been selected.

Implementation

const TabPageSelector({
  super.key,
  this.controller,
  this.indicatorSize = 12.0,
  this.color,
  this.selectedColor,
  this.borderStyle,
}) : assert(indicatorSize > 0.0);