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

Async Data, Loading notifier, Error all in one variable, reducing boilerplate code and making your code more concise

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add async_var

With Flutter:

 $ flutter pub add async_var

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

dependencies:
  async_var: ^1.0.2

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:async_var/async_var.dart';
1
likes
0
points
282
downloads

Publisher

verified publisherflexxxlab.com

Weekly Downloads

Async Data, Loading notifier, Error all in one variable, reducing boilerplate code and making your code more concise

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on async_var