ZapbirdDocs

Prepare your workspace

Check your project, packages, Flutter and network before you start.

Run doctor inside your project folder before the first start. It checks the network address, the project, Flutter, the runner SDK, the package versions, the native packages and the keys in your project.

Terminal
$ zapbird doctor

Each line says what is wrong and how to fix it. The exit code is 0 when everything is ready and 1 when something must be fixed.

#Match your packages to the runner

The runner contains a fixed set of packages at fixed versions. If your project uses different versions, doctor lists them. Let it set them for you:

Terminal
$ zapbird doctor --fix

This changes the versions in pubspec.yaml and runs flutter pub get. It prints every change.

#See every version

Terminal
$ zapbird versions$ zapbird versions --packages

This shows the zapbird version, your Flutter and Dart, each installed SDK and which of your packages differ from the runner.

#Choose the network

Zapbird finds a local address by itself. If your computer has more than one network, pass the one your phone can reach.

Terminal
$ zapbird start --host 192.168.1.24

Was this doc helpful?

Zapbird sends no analytics. Read about security.

Flutter and the related logo are trademarks of Google LLC. Zapbird is not endorsed by or affiliated with Google LLC.

esc