WpPivot constructor

const WpPivot({
  1. required Key key,
  2. required List<String> tabTitles,
  3. Color backgroundColor = Colors.black,
  4. Color selectedTabColor = Colors.white,
  5. Color unselectedTabColor = Colors.white54,
  6. FontWeight fontWeight = FontWeight.w200,
  7. double fontSize = 36,
  8. FontWeight titleFontWeight = FontWeight.bold,
  9. double titleFontSize = 16,
  10. Color titleColor = Colors.white,
  11. 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);