flutter_expandable 0.0.1+2 flutter_expandable: ^0.0.1+2 copied to clipboard
A new Flutter package project.
flutter_expandable #
This is a package that allows widget expansion no matter where the trigger and the expandable widget are in the UI. This package was born when a ExpansionTile was not enough for our requeriments.
Getting Started #
Import the package to pubspec.yaml file, and you're ready to go. Just wrap the widgets that will trigger expansion with ExpanderWidget (they should be given as triggerWidgets property) and provide an AnimationController.
Then, wrap the widget that will be expanded with ExpandableWidget and provide the same controller that you provided to the Expander, provide a height and you're done! Once you tap the expander, the expandable will animate vertically or horizontally (depending on the properties you've set).
Check out our example for more information