sticky_and_expandable_list 1.0.0-nullsafety sticky_and_expandable_list: ^1.0.0-nullsafety copied to clipboard
Build a grouped list, which support expand/collapse section and sticky header, support use it with sliver widget.
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: ^1.0.0-nullsafety
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';