CategoryViewConfig class
Category view Config
Constructors
- 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
const
Properties
- backgroundColor → Color
-
Background color of TabBar
final
- backspaceColor → Color
-
The color of the backspace icon button
final
- categoryIcons → CategoryIcons
-
Determines the icon to display for each Category
final
- customCategoryView → CategoryViewBuilder?
-
Custom search bar
Hot reload is not supported
final
- dividerColor → Color?
-
Divider color between TabBar and emoji's
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- iconColor → Color
-
The color of the category icons
final
- iconColorSelected → Color
-
The color of the category icon when selected
final
- indicatorColor → Color
-
The color of the category indicator
final
- initCategory → Category
-
The initial Category that will be selected
This Category will have its button in the bottombar darkened
final
- recentTabBehavior → RecentTabBehavior
-
Behavior of Recent Tab (Recent, Popular)
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- showBackspaceButton → bool
-
Show Backspace button
final
- tabBarHeight → double
-
Tab bar height
final
- tabIndicatorAnimDuration → Duration
-
Duration of tab indicator to animate to next category
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override