slide_item 1.0.1 slide_item: ^1.0.1 copied to clipboard
The Flutter ListView's Item sliding component is like a QQ chat list. You do n’t need to change the existing code, you only need to wrap the original Widget with two widgets provided by this package
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add slide_item
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
slide_item: ^1.0.1
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:slide_item/slide_item.dart';