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

AsyncVar is a lightweight and easy-to-use package that simplifies managing asynchronous state in Flutter applications. It provides a way to handle loading, success, and error states in a reactive mann [...]

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.0

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
170
downloads

Publisher

verified publisherflexxxlab.com

Weekly Downloads

AsyncVar is a lightweight and easy-to-use package that simplifies managing asynchronous state in Flutter applications. It provides a way to handle loading, success, and error states in a reactive manner, making it ideal for use in view models and state management. With built-in support for notifying listeners on state changes, AsyncVar helps you build responsive and clean Flutter apps with minimal boilerplate code.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on async_var