resource_widget 3.1.1 copy "resource_widget: ^3.1.1" to clipboard
resource_widget: ^3.1.1 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
copied to clipboard

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

dependencies:
  resource_widget: ^3.1.1
copied to clipboard

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';
copied to clipboard
1
likes
140
points
479
downloads

Publisher

unverified uploader

Weekly Downloads

2024.07.08 - 2025.01.20

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