Search packages, repositories and app categories

Package detailsv1.0.2

autoscale_tabbarview

A simple package which extends default TabbarView to have childreb with dynamic height.

AndroidiOSWebmacOSWindowsLinux
30-day downloads
6.2K
Likes
36
Pub points
125

Install package

flutter pub add autoscale_tabbarview

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

A lightweight Flutter package that extends the default TabBarView to support dynamically resizing child widgets based on their content height. This allows tabs to automatically adjust their height to fit the content, improving layout flexibility and user experience in tabbed interfaces. Ideal for scenarios where tab contents vary significantly in size. The package is compatible across all major platforms and integrates seamlessly with existing TabBar and TabBarView implementations.

Use cases

  • Dynamic content layouts
  • Responsive tabbed interfaces
  • Variable-height tab content
  • Improved UI adaptability
  • Simplified height management
  • Cross-platform tab design

Key features

  • Auto-resizing tab children
  • Content-based height calculation
  • Seamless integration with TabBarView
  • Supports all Flutter platforms
  • Minimal configuration required
  • Maintains smooth scrolling

Suitable for

  • Developers needing responsive tab layouts
  • Projects with variable-content tabs
  • UI designers focused on adaptive layouts
  • Apps requiring dynamic height adjustments
  • Flutter beginners exploring advanced widgets
  • Cross-platform mobile and web apps

Considerations

  • May impact performance with many large tabs
  • Requires careful handling of nested scroll views
  • Not suitable for fixed-height tab designs
  • Limited customization beyond height scaling
  • Best used with predictable content sizes
  • Potential conflicts with other layout constraints

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

The default TabBarView does not allows to have children with dynamic height. This package tried to solve that by extending default TabBarView and make required changes. AutoScaleTabbarView allows to have children with dynamic height.

Categories

Source repository

Projects using this package