resource_future 0.0.1 copy "resource_future: ^0.0.1" to clipboard
resource_future: ^0.0.1 copied to clipboard

Simplifies usage of the flutter FutureBuilder in combinatino with Resource<T> (of resource_result package).

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add resource_future

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  resource_future: ^0.0.1

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:resource_future/resource_future.dart';
1
likes
100
pub points
0%
popularity

Publisher

unverified uploader

Simplifies usage of the flutter FutureBuilder in combinatino with Resource<T> (of resource_result package).

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter, resource_result

More

Packages that depend on resource_future