TabPageSelectorIndicator constructor Null safety
- {Key? key,
- required Color backgroundColor,
- required Color borderColor,
- required double size,
- BorderStyle borderStyle = BorderStyle.solid}
Creates an indicator used by TabPageSelector.
The backgroundColor, borderColor, and size parameters must not be null.
Implementation
const TabPageSelectorIndicator({
super.key,
required this.backgroundColor,
required this.borderColor,
required this.size,
this.borderStyle = BorderStyle.solid,
}) : assert(backgroundColor != null),
assert(borderColor != null),
assert(size != null);