resource_widget 1.0.2 copy "resource_widget: ^1.0.2" to clipboard
resource_widget: ^1.0.2 copied to clipboard

Simplifies usage of the flutter `FutureBuilder` and `StreamBuilder` in combination 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_widget

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

dependencies:
  resource_widget: ^1.0.2

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_widget/resource_widget.dart';
1
likes
100
pub points
2%
popularity

Publisher

unverified uploader

Simplifies usage of the flutter `FutureBuilder` and `StreamBuilder` in combination with `Resource<T>` (of `resource_result` package).

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter, resource_result

More

Packages that depend on resource_widget