XUnderlineTabIndicator constructor
const
XUnderlineTabIndicator({
- BorderSide borderSide = const BorderSide(width: 2.0, color: Colors.white),
- EdgeInsetsGeometry insets = EdgeInsets.zero,
- double wantWidth = 20,
- double wantBottom = 0.0,
Create an underline style selected tab indicator.
The borderSide and insets arguments must not be null.
Implementation
const XUnderlineTabIndicator({
this.borderSide = const BorderSide(width: 2.0, color: Colors.white),
this.insets = EdgeInsets.zero,
this.wantWidth = 20,
this.wantBottom = 0.0
}) : assert(borderSide != null),
assert(insets != null);