WpPivot constructor
const
WpPivot({
- required Key key,
- required List<
String> tabTitles, - Color backgroundColor = Colors.black,
- Color selectedTabColor = Colors.white,
- Color unselectedTabColor = Colors.white54,
- FontWeight fontWeight = FontWeight.w200,
- double fontSize = 36,
- FontWeight titleFontWeight = FontWeight.bold,
- double titleFontSize = 16,
- Color titleColor = Colors.white,
- required String title,
Implementation
const WpPivot({
required Key key,
required this.tabTitles,
this.backgroundColor = Colors.black,
this.selectedTabColor = Colors.white,
this.unselectedTabColor = Colors.white54,
this.fontWeight = FontWeight.w200,
this.fontSize = 36,
this.titleFontWeight = FontWeight.bold,
this.titleFontSize = 16,
this.titleColor = Colors.white,
required this.title,
}) : super(key: key);