UTabBarTheme constructor

const UTabBarTheme({
  1. required Color backgroundColor,
  2. required Color selectedTabColor,
  3. required Color hoverTabColor,
  4. required Color unselectedTabColor,
  5. required Color selectedTextColor,
  6. required Color unselectedTextColor,
  7. required Color indicatorColor,
  8. required Color controlColor,
  9. Gradient? backgroundGradient,
  10. double height = 52,
  11. double tabHeight = 38,
  12. double minTabWidth = 120,
  13. double maxTabWidth = 220,
  14. double gap = 6,
  15. BorderRadius tabRadius = const BorderRadius.all(Radius.circular(12)),
  16. Duration animationDuration = const Duration(milliseconds: 260),
  17. Curve animationCurve = Curves.easeOutCubic,
  18. bool showSelectedUnderline = true,
})

Implementation

const UTabBarTheme({
  required this.backgroundColor,
  required this.selectedTabColor,
  required this.hoverTabColor,
  required this.unselectedTabColor,
  required this.selectedTextColor,
  required this.unselectedTextColor,
  required this.indicatorColor,
  required this.controlColor,
  this.backgroundGradient,
  this.height = 52,
  this.tabHeight = 38,
  this.minTabWidth = 120,
  this.maxTabWidth = 220,
  this.gap = 6,
  this.tabRadius = const BorderRadius.all(Radius.circular(12)),
  this.animationDuration = const Duration(milliseconds: 260),
  this.animationCurve = Curves.easeOutCubic,
  this.showSelectedUnderline = true,
});