duia_refresh 0.0.3 duia_refresh: ^0.0.3 copied to clipboard
A new Flutter plugin.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add duia_refresh
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
duia_refresh: ^0.0.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:duia_refresh/flutter_refresh_plugin.dart';
import 'package:duia_refresh/refresh/behavior/behavior.dart';
import 'package:duia_refresh/refresh/duia_refresher.dart';
import 'package:duia_refresh/refresh/footer/duiafooter.dart';
import 'package:duia_refresh/refresh/header/duiaheader.dart';
import 'package:duia_refresh/refresh/refresh_safe_area.dart';
import 'package:duia_refresh/refresh/scrollPhysics/scroll_physics.dart';