CategoryViewConfig constructor

const CategoryViewConfig({
  1. double tabBarHeight = 46.0,
  2. Duration tabIndicatorAnimDuration = kTabScrollDuration,
  3. Category initCategory = Category.RECENT,
  4. RecentTabBehavior recentTabBehavior = RecentTabBehavior.RECENT,
  5. bool showBackspaceButton = false,
  6. Color backgroundColor = const Color(0xFFEBEFF2),
  7. Color indicatorColor = Colors.blue,
  8. Color iconColor = Colors.grey,
  9. Color iconColorSelected = Colors.blue,
  10. Color backspaceColor = Colors.blue,
  11. Color? dividerColor,
  12. CategoryIcons categoryIcons = const CategoryIcons(),
  13. CategoryViewBuilder? customCategoryView,
})

Constructor

Implementation

const CategoryViewConfig({
  this.tabBarHeight = 46.0,
  this.tabIndicatorAnimDuration = kTabScrollDuration,
  this.initCategory = Category.RECENT,
  this.recentTabBehavior = RecentTabBehavior.RECENT,
  this.showBackspaceButton = false,
  this.backgroundColor = const Color(0xFFEBEFF2),
  this.indicatorColor = Colors.blue,
  this.iconColor = Colors.grey,
  this.iconColorSelected = Colors.blue,
  this.backspaceColor = Colors.blue,
  this.dividerColor,
  this.categoryIcons = const CategoryIcons(),
  this.customCategoryView,
});