TabPageSelectorIndicator constructor

const TabPageSelectorIndicator({
  1. Key? key,
  2. required Color backgroundColor,
  3. required Color borderColor,
  4. required double size,
  5. BorderStyle borderStyle = BorderStyle.solid,
})

Creates an indicator used by TabPageSelector.

The backgroundColor, borderColor, and size parameters must not be null.

Implementation

const TabPageSelectorIndicator({
  super.key,
  required this.backgroundColor,
  required this.borderColor,
  required this.size,
  this.borderStyle = BorderStyle.solid,
})  : assert(backgroundColor != null),
      assert(borderColor != null),
      assert(size != null);