sparrow_dio 0.15.1
sparrow_dio: ^0.15.1 copied to clipboard
sparrow团队完成的对dio的封装,实现dio的async await调用以及回调方式的调用.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add sparrow_dioThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
sparrow_dio: ^0.15.1Alternatively, 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:sparrow_dio/sparrow_dio.dart';