stx_bloc_base 0.6.0-beta.2 stx_bloc_base: ^0.6.0-beta.2 copied to clipboard
The package provides various generic implementations of blocs.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add stx_bloc_base
With Flutter:
$ flutter pub add stx_bloc_base
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
stx_bloc_base: ^0.6.0-beta.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:stx_bloc_base/stx_bloc_base.dart';