FLUTTER ECOSYSTEM

expandable

A Flutter widget that can be expanded or collapsed by clicking on a header or an icon.

expandable cover
Latest version
5.0.1
30-day downloads
221.8K
Likes
1.8K
Pub points
140

Package Overview

Selection guidance generated from public package information. For reference only.

Overview

The expandable package provides a Flutter widget that allows content to be toggled between expanded and collapsed states, typically triggered by a header or icon. It enhances user interface interactivity by enabling users to reveal or hide detailed information on demand, improving space efficiency and navigation. Ideal for lists, FAQs, or settings sections, it supports smooth animations and customizable headers. The package is compatible across all major platforms including Android, iOS, Web, macOS, Windows, and Linux.

Use cases
  • FAQ sections
  • Collapsible lists
  • Settings panels
  • Dynamic content hiding
  • User profile details
  • Interactive forms
Key features
  • Smooth expand/collapse animations
  • Customizable header and icon
  • Supports multiple expansion states
  • Easy integration with existing widgets
  • Cross-platform compatibility
  • Configurable duration and curve
Suitable for
  • Developers building interactive UIs
  • Apps with dense content layouts
  • Mobile and web applications needing collapsible sections
  • UI designers seeking reusable components
  • Projects requiring responsive content management
Considerations
  • May impact performance with large datasets
  • Requires careful state management
  • Animation timing may need tuning for UX
  • Limited to single-level expansion without additional logic
  • Not suitable for complex nested structures without customization
Supported platformsAndroidiOSWebmacOSWindowsLinux

Install package

flutter pub add expandable

Categories

Source repository

Related projects