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

Global State automatically rebuilds Widgets on value changes. Includes an api for creating transition values to produce controllable animations.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add global_state

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

dependencies:
  global_state: ^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:global_state/gs.dart';
import 'package:global_state/transition.dart';
2
likes
30
pub points
46%
popularity

Publisher

unverified uploader

Global State automatically rebuilds Widgets on value changes. Includes an api for creating transition values to produce controllable animations.

Repository (GitHub)
View/report issues

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on global_state