UnderlineIndicator constructor

const UnderlineIndicator({
  1. StrokeCap strokeCap = StrokeCap.round,
  2. BorderSide borderSide = const BorderSide(width: 2.0, color: Colors.white),
  3. EdgeInsetsGeometry insets = EdgeInsets.zero,
})

Create an underline style selected tab indicator.

The borderSide and insets arguments must not be null.

Implementation

const UnderlineIndicator({
  this.strokeCap = StrokeCap.round,
  this.borderSide = const BorderSide(width: 2.0, color: Colors.white),
  this.insets = EdgeInsets.zero,
}) : assert(borderSide != null),
      assert(insets != null);