Setting up Workspace
Adding linters, Adding Dependency
Adding dependencies
On the main project folder go to pubspec.yaml
dependencies:
flutter:
sdk: flutter
bloc: ^6.1.1
Once you added the package run the following command to install the package in your project.
$ flutter pub get
Last updated
Was this helpful?