TabPageSelectorIndicator constructor

const TabPageSelectorIndicator(
  1. {Key key,
  2. @required Color backgroundColor,
  3. @required Color borderColor,
  4. @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);