Code for the hands on workshop during June 2024 sprint pause
There are some prerequisites you will want to have installed and configured. Follow the Pre-workshop guide
Navigate to any step folder in this project, get the dependencies and run the project.
cd step_1flutter pub getflutter run
When you execute the flutter run command you will see some information similar to the follow, the http link will provide you an instance of the Flutter Dev Tools you can access in your browser.
Building macOS application...
Syncing files to device macOS... 24ms
Flutter run key commands.
r Hot reload.
R Hot restart.
h List all available interactive commands.
d Detach (terminate "flutter run" but leave application running).
c Clear the screen
q Quit (terminate the application on the device).
A Dart VM Service on macOS is available at: http://127.0.0.1:53815/HF7n7c7NrPk=/
The Flutter DevTools debugger and profiler on macOS is available at: http://127.0.0.1:9100?uri=http://127.0.0.1:53815/HF7n7c7NrPk=/
To run unit test navigate to the folder you want to run the tests against and then run the test command.
cd step_1flutter test
Package dependencies for the project will be inside the pubspec.yaml file
You can get your package dependencies by running flutter pub get.
To update packages run flutter pub update
To handle outdated packages run flutter pub outdated
To resolve dependency constraints and upgrade packages to the latest run
flutter pub upgrade --major-versions
