async_data 1.0.1 copy "async_data: ^1.0.1" to clipboard
async_data: ^1.0.1 copied to clipboard

This package provides AsyncData<T> class that handle some data can have multiple states.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add async_data

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

dependencies:
  async_data: ^1.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:async_data/async_data.dart';
2
likes
140
points
77
downloads

Publisher

unverified uploader

Weekly Downloads

This package provides AsyncData<T> class that handle some data can have multiple states.

Homepage
Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

collection, flutter, freezed_annotation, rxdart

More

Packages that depend on async_data