CategoryViewConfig constructor
const
CategoryViewConfig({
- double tabBarHeight = 46.0,
- Duration tabIndicatorAnimDuration = kTabScrollDuration,
- Category initCategory = Category.RECENT,
- RecentTabBehavior recentTabBehavior = RecentTabBehavior.RECENT,
- bool showBackspaceButton = false,
- Color backgroundColor = const Color(0xFFEBEFF2),
- Color indicatorColor = Colors.blue,
- Color iconColor = Colors.grey,
- Color iconColorSelected = Colors.blue,
- Color backspaceColor = Colors.blue,
- Color? dividerColor,
- CategoryIcons categoryIcons = const CategoryIcons(),
- 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,
});