tabbed_view library

Classes

ContentAreaThemeData
DraggableConfig
Configures the tab drag.
DraggableData
IconProvider
Provides an icon
TabbedView
Widget inspired by the classic Desktop-style tab component.
TabbedViewController
The TabbedView controller.
TabbedViewIcons
TabbedView icons
TabbedViewMenuItem
Menu item
TabbedViewMenuThemeData
Defines the visual properties for the menus used in TabbedView.
TabbedViewTheme
Applies a TabbedView theme to descendant widgets. See also:
TabbedViewThemeConstants
TabbedViewThemeData
The TabbedView theme. Defines the configuration of the overall visual Theme for a widget subtree within the app.
TabButton
Configures a tab button.
TabData
The tab data.
TabDecoration
Defines the decoration of a tab, which can include a border, a color, a border radius, and a wrapper builder for creating nested decorators.
TabsAreaThemeData
Theme for tabs and buttons area.
TabStatusThemeData
Theme for tab in a given status. Allows you to overwrite TabThemeData properties.
TabThemeData
Theme for tab.

Enums

SideTabsLayout
Defines how side-positioned tabs (left or right) are laid out.
TabBarPosition
Defines the position of the tab bar.
TabHeaderExtentBehavior
Defines how tab headers are sized relative to each other along their extent (the thickness of the header).
TabsAreaCrossAxisFit
Defines how the cross axis will fit within the tabs area.
TabStatus
Inner enum for tab status.
UnselectedTabButtonsBehavior
Defines how tab buttons behave when the tab is not selected.
VerticalAlignment
Sets the alignment in the tab.

Typedefs

CanDrop = bool Function(DraggableData source, TabbedViewController target)
IconPath = Path Function(Size size)
Builds a responsive path given a size. Used to draw a icon.
OnBeforeDropAccept = bool Function(DraggableData source, TabbedViewController target, int newIndex)
OnDraggableBuild = DraggableConfig Function(TabbedViewController controller, int tabIndex, TabData tab)
Defines the configuration of a Draggable in its construction.
OnTabRemove = void Function(TabData tabData)
The event triggered when the tab is removed.
OnTabReorder = void Function(int oldIndex, int newIndex)
Event that will be triggered when the tab is reorder.
OnTabSecondaryTap = void Function(int tabIndex, TabData tabData, TapDownDetails details)
The on tab secondary tap callback function.
OnTabSelection = void Function(int? tabIndex, TabData? tabData)
Event that will be triggered when the tab selection is changed.
TabbedViewMenuBuilder = List<TabbedViewMenuItem> Function(BuildContext context)
Menu builder
TabButtonsBuilder = List<TabButton> Function(BuildContext context)
Tab buttons builder
TabDecorationBuilder = TabDecoration Function({required TabStatus status, required TabBarPosition tabBarPosition})
A builder function that creates a TabDecoration based on the tab's position and status.
TabLeadingBuilder = Widget? Function(BuildContext context, TabStatus status)
Signature for a function that builds a leading widget in tab.
TabRemoveInterceptor = FutureOr<bool> Function(BuildContext context, int tabIndex, TabData tabData)
Called only when a tab close is requested from the user interface, for example when tapping the close button on a tab.
TabsAreaButtonsBuilder = List<TabButton> Function(BuildContext context, int tabsCount)
Tabs area buttons builder