TabPageSelectorIndicator constructor

const TabPageSelectorIndicator({Key key, @required Color backgroundColor, @required Color borderColor, @required double size })

Creates an indicator used by TabPageSelector.

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

Implementation

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