SmartUnderlineTabIndicator constructor
const
SmartUnderlineTabIndicator({
- BorderRadius borderRadius = BorderRadius.zero,
- Axis direction = Axis.horizontal,
- BorderSide borderSide = const BorderSide(width: 2.0, color: Colors.white),
- double? width,
- 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);