Last updated:
0 purchases
rive pull to refresh
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 or pulls up.
stop scrolling
close header...
Customize
floating, header mode.
percent resize to activate refresh.
Duration, Cuver...
planet-header
planet-floating
planet-bottom
liquid
bow
space
lipid
liquid_v1
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 Flutter).
Flutter #
1. Depend on it #
Add this to your package's pubspec.yaml file:
rive_pull_to_refresh: ^1.0.4+6
copied to clipboard
2. Install it #
You can install packages from the command line:
with dart:
dart pub get
copied to clipboard
with Flutter:
flutter pub get
copied to clipboard
3. Import it #
import 'package:rive_pull_to_refresh/rive_pull_to_refresh.dart';
copied to clipboard
4. Physics #
BouncingScrollPhysics(physics default of ios) makes the package work not correctly so please set the physics of Scrolling widgets
ListView.builder(
physics: const ClampingScrollPhysics(
parent: AlwaysScrollableScrollPhysics()),
...
copied to clipboard
Rive #
Check editor Rive to know State Machine and Inputs here
Example use rive file from: #
JcToon : community
Drawsgood : community
RiveExamples : community
Thank all.
Support the package(optional) #
If you find this package useful.You can support it by giving it a thumbs up or buy me a coffee.Thank you !
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.