async_var 1.1.3 copy "async_var: ^1.1.3" to clipboard
async_var: ^1.1.3 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 Flutter:

 $ flutter pub add async_var

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

dependencies:
  async_var: ^1.1.3

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_var/async_var.dart';
1
likes
160
points
284
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

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

async, flutter

More

Packages that depend on async_var