Skip to content

Installing

Install via command line or VSCode extension

To add Disco to your project, open a terminal in your project’s root directory and run:

Terminal window
flutter pub add disco

You can also use the VSCode extension (>Dart: Add Dependency).

Install manually

Alternatively, you can add Disco manually by updating your pubspec.yaml file as follows:

name: # your app name
environment:
sdk: ^3.6.0 # Dart SDK version must be >=3.6.0 to support disco
flutter: ">=3.27.0"
dependencies:
disco: ^1.0.0
flutter:
sdk: flutter

After updating the file, run flutter pub get in your terminal to fetch the dependencies.