sticky_and_expandable_list 0.2.0-beta sticky_and_expandable_list: ^0.2.0-beta copied to clipboard
Flutter implementation of sticky headers and expandable list.Support use it in a CustomScrollView.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add sticky_and_expandable_list
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
sticky_and_expandable_list: ^0.2.0-beta
Alternatively, 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:sticky_and_expandable_list/sticky_and_expandable_list.dart';