tab_overview library
Classes
- RemovableTab
- An abstract class that provides a property to determine if a tab can be removed from the TabOverview.
- ReorderableTab
- An abstract class that provides a property to determine if a tab can be reordered within the TabOverview.
-
TabOverview<
T> - The TabOverview widget provides a flexible, animated interface for switching between multiple tabs. It supports both overview and expanded modes with customizable animations, decorations, and layouts.
-
TabOverviewController<
T> -
The TabOverviewController manages the state, behavior, and animations for the TabOverview widget,
allowing it to switch between
overview
andexpanded
modes, handle tab interactions, and manage animations.
Enums
- TabOverviewMode
- Specifies the display mode of the TabOverview.
Constants
- kDefaultThumbnailsGridCrossAxisSpacing → const double
- kDefaultThumbnailsGridMainAxisSpacing → const double
- kExpandedTabPageViewportFraction → const double
- kThumbsGridOpacityWhenExpanded → const double
- kThumbsGridScaleWhenExpanded → const double
Typedefs
- ActiveTabChangedListener = VoidCallback
- A callback type that is triggered when the active tab changes.
- ModeChangedListener = void Function(TabOverviewMode mode)
- A callback type that is triggered when the mode of the TabOverview changes.
-
TabAddedListener<
T> = void Function(T tab) - A callback type that is triggered when a new tab is added to the TabOverview.
-
TabRemovedListener<
T> = void Function(T removedTab) - A callback type that is triggered when a tab is removed from the TabOverview.
- TabsReorderedListener = VoidCallback
- A callback type that is triggered when tabs are reordered within the TabOverview.