CategoriesOptions class

Constructors

CategoriesOptions({List<TimelineCategory> categoriesBuilder(BuildContext context)? = _getDefaultCategories, Widget categoryButtonBuilder(String? categoryKey, String categoryName, dynamic onTap(), bool selected, bool isOnTop)?, double? categorySelectorHorizontalPadding})
const

Properties

categoriesBuilder → (List<TimelineCategory> Function(BuildContext context)?)
List of categories that the user can select. If this is null no categories will be shown.
final
categoryButtonBuilder → (Widget Function(String? categoryKey, String categoryName, dynamic onTap(), bool selected, bool isOnTop)?)
Abilty to override the standard category selector
final
categorySelectorHorizontalPadding → double?
Overides the standard horizontal padding of the whole category selector.
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

getCategoryByKey(BuildContext context, String? key) → TimelineCategory?
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.
inherited