sticky_headers 0.1.3 sticky_headers: ^0.1.3 copied to clipboard
Flutter Sticky Headers - Lets you place headers on scrollable content that will stick to the top of the container whilst the content is scrolled.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add sticky_headers
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
sticky_headers: ^0.1.3
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_headers/sticky_headers.dart';