Skip to main content

tab_overview 0.1.2 copy "tab_overview: ^0.1.2" to clipboard
tab_overview: ^0.1.2 copied to clipboard

A widget that enables smooth tab transitions with a grid view of thumbnails for easy tab management and navigation.

Changelog #

0.1.2 #

Fixed #

  • Keep an added tab's state, such as its text, focus and scroll position, when its add animation ends. The first rebuild after the animation re-created the content of its thumbnail, or of its page if it was expanded right away.

Changed #

  • Stop repainting a flying tab's content on each frame of the flight. During an expand or a collapse, it painted on 20 of the flight's 21 frames; now it paints twice, once as the flight starts and once where it lands.
  • Rebuild only the thumbnails that a swipe between expanded tabs changes, not all of them.

0.1.1 #

Changed #

  • Require hero_here 1.5.0. Expanding or collapsing a tab no longer shows a screenshot of the overview for a frame, and the tab starts to fly a frame sooner.

0.1.0 #

Fixed #

  • Follow a new controller given to the overview. The overview showed the new tabs, but expand and toggleMode failed with a null check, and the old controller still drove it.
  • Collapse a tab whose hash code is the same as another tab's. It failed with a null check, and the other tab's thumbnail stayed hidden.
  • Move thumbnails along thumbnailsMotionAnimationCurve. It was ignored.
  • Keep one PageController while a tab is expanded, rather than a new one on each build, and dispose it, and the grid's ScrollController, when they're no longer needed. Neither was disposed.

Changed #

  • Breaking: TabOverview.builder requires a controller. Without one, the overview created its own on each rebuild, which nothing could add tabs to, so it was always empty.

0.0.6 #

Fixed #

  • Keep an expanded tab's state, such as its text, focus and scroll position, the first time something rebuilds it after it expands, such as the keyboard opening or a setState above the overview. It was re-created.
  • Collapse to the tab's thumbnail after a window resize while expanded. The tab flew off the screen, and the overview showed other tabs.
  • Size tabs by the overview, not the screen. Under an app bar, an expanded tab was cropped; beside a sidebar, it was letterboxed; and off-screen tabs flew in from outside the overview.

Changed #

  • Require hero_here 1.4.1.
  • Lay tab content out at the overview's size. Under a Scaffold, it now shrinks when the keyboard opens, like any other body, so content with a fixed height can overflow.
  • Show the tabs on every frame while the window resizes, while the keyboard opens and when the overview's parent rebuilds. Only a change between overview and expanded runs a hero switch, which shows a snapshot for a frame.

0.0.5 #

Fixed #

  • Show the overview on screens narrower than 300 pixels; it showed a placeholder.

Changed #

  • Require Dart 3.13 and Flutter 3.47.
  • Require animated_reorderable 1.5.0 and hero_here 1.1.0, so thumbnails keep their state while they move and tab transitions stay in place when the overview isn't at the screen's top-left corner.
  • Update the example to the current Flutter templates.

0.0.4 #

Fixed #

  • Fix tab activation.

0.0.3 #

Fixed #

  • Flight animation creation for expanded initial mode.

0.0.2 #

Fixed #

  • Resolved a bug where the TabOverview widget would cause an error when in expanded mode with no tabs present.

0.0.1 #

Added #

  • Initial release of tab_overview, a customizable widget for managing tabs with smooth transitions and a thumbnail grid view.
  • TabOverview widget: Displays tabs in both overview (grid of thumbnails) and expanded modes.
  • Responsive grid layout: Automatically adjusts the number of columns based on screen size (large, medium, small, and extra small).
  • TabOverviewController: Manages tab state, allowing users to add, remove, reorder, and toggle between tabs.
  • Customizable animations: Adjustable animation duration and curve for smooth transitions.
  • Reorderable and removable tabs: Supports tab reordering and optional removal through the ReorderableTab and RemovableTab interfaces.
  • Optional Decorations: Customizable styling for thumbnails and expanded tab views.
  • Dependencies:
    • animated_reorderable for drag-and-drop functionality in the grid view.
    • hero_here for smooth transitions between thumbnail and expanded views.
6
likes
0
points
864
downloads

Publisher

verified publisherigorkurilenko.dev

Weekly Downloads

A widget that enables smooth tab transitions with a grid view of thumbnails for easy tab management and navigation.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

animated_reorderable, flutter, hero_here

More

Packages that depend on tab_overview