easy_expandable 0.1.0
easy_expandable: ^0.1.0 copied to clipboard
Wrap any widget so it smoothly expands and collapses when its header is tapped. Zero-boilerplate, controlled or uncontrolled, with lazy body building.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add easy_expandableThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
easy_expandable: ^0.1.0Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:easy_expandable/easy_expandable.dart';