SmartUnderlineTabIndicator constructor

const SmartUnderlineTabIndicator({
  1. BorderRadius borderRadius = BorderRadius.zero,
  2. Axis direction = Axis.horizontal,
  3. BorderSide borderSide = const BorderSide(width: 2.0, color: Colors.white),
  4. double? width,
  5. EdgeInsetsGeometry insets = EdgeInsets.zero,
})

Create an underline style selected tab indicator.

The borderSide and insets arguments must not be null.

Implementation

const SmartUnderlineTabIndicator({
  this.borderRadius = BorderRadius.zero,
  this.direction = Axis.horizontal,
  this.borderSide = const BorderSide(width: 2.0, color: Colors.white),
  this.width,
  this.insets = EdgeInsets.zero,
})  : assert(borderSide != null),
      assert(insets != null);