jaspr_bloc 1.0.1
jaspr_bloc: ^1.0.1 copied to clipboard
A state management package for Jaspr that implements the BLoC pattern, enabling Jaspr apps to handle state the same way as Flutter apps.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add jaspr_blocWith Flutter:
$ flutter pub add jaspr_blocThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
jaspr_bloc: ^1.0.1Alternatively, 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:jaspr_bloc/jaspr_bloc.dart';