remote_data_provider 2.1.0 remote_data_provider: ^2.1.0 copied to clipboard
Help implementing providers easier with predefined abstract classes, special is for working with remote data.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add remote_data_provider
With Flutter:
$ flutter pub add remote_data_provider
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
remote_data_provider: ^2.1.0
Alternatively, your editor might support dart pub get
or flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:remote_data_provider/basic_data_provider.dart';
import 'package:remote_data_provider/data_list_provider.dart';
import 'package:remote_data_provider/remote_list.dart';