rive_pull_to_refresh 1.0.0
rive_pull_to_refresh: ^1.0.0 copied to clipboard
A custom refresh indicator with Rive, Image, Gif...
rive_pull_to_refresh #
Intro #
- A custom refresh indicator with Rive, Image, GIF...
- Integrate rive quickly
- Provides callbacks for the pull-to-refresh action:
- value when the client pulls down, pulls up.
- stop scrolling
- close header ...
- value when the client pulls down, pulls up.
- Customize
+ floating, header mode
- percent resize to activate refresh
- Duration, Cuver
- ...
- percent resize to activate refresh
Wanrning #
- You must know a little bit of rive. If not you can use the existing rive files in the example(can't edit color from the Flutter side).
Flutter Side #
1. Depend on it #
Add this to your package's pubspec.yaml file:
rive_pull_to_refresh: ^1.0.0
2. Install it #
You can install packages from the command line:
with dart:
dart pub get
with Flutter:
flutter pub get
3. Import it #
import 'package:rive_pull_to_refresh/rive_pull_to_refresh.dart';
Rive Side #
Check editor Rive to know State Machine and Inputs here
Example use rive file from: #
JcToon : community
Drawsgood : community
RiveExamples : community
Thank all.