autoscale_tabbarview
1.0.2, released 5 years ago by an unverified publisher
Extends default TabBarView to support children with dynamic heights.
What it does
The default TabBarView requires fixed heights or explicit constraints for its children. This package provides AutoScaleTabbarView, which wraps the default TabBarView and allows children to have dynamic heights.
AI-written summary of version 1.0.2, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need a TabBarView where each tab can have a different, dynamically determined height.
- You want to avoid fixed height constraints for tab contents.
Skip it when
- You are already using a fixed height layout or custom scroll physics that clash with dynamic sizing.
- You need complex nested scrolling views that handle their own slivers.
Strengths
- Solves a common layout limitation of the default Flutter TabBarView.
- Simple and straightforward drop-in extension.
Weaknesses
- Limited documentation and examples provided in the README.
- No recent updates documented in the changelog beyond early versions.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
AutoScaleTabbarView(
controller: _tabController,
children: [
// Your dynamic height widgets here
],
)Alternatives
Packages that do the same job and could replace autoscale_tabbarview.
- contentsize_tabbarview
A tab bar view widget where each tab's height automatically adjusts to fit its content.
50Compare - pretty_diff_text
Widget that displays differences between two texts using RichText
53Compare - dynamic_height_grid_view
GridView with dynamic item heights without specifying an aspect ratio.
50Compare - alphabet_scroll_view
A scrollable list view with a vertical alphabet index for quick jumping.
50Compare