This solved branch contains results of solving original challenges located at the original branch.
If you are interested in the original assessment source code and its requirements, switch to the original branch.
git checkout original
Then follow instructions to complete each challenge. Find README.md in each challenge dir:
-
lib/challenge1/README.md
-
lib/challenge2/README.md
-
lib/challenge3/README.md
To run the solution of the challenge1 execute next command
flutter run lib/challenge1/main.dart
Assuming that "challenge2" is about writing tests to the "challenge1" sources, its solution is located at "test/challenge1".
To run the solution of the challenge2 execute next command
flutter test test/challenge1
To run the solution of the challenge3 execute next command
flutter run lib/challenge3/main.dart
To run all tests execute next command
flutter test
You can run and debug the project on your Mac as a native app without need of Simulator or Emulator.
flutter run lib/challenge1/main.dart -d macos
flutter run lib/challenge3/main.dart -d macos
You can run and debug the project in the Chrome browser.
flutter run lib/challenge1/main.dart -d chrome
flutter run lib/challenge3/main.dart -d chrome
You can run and debug the project on your Linux machine as a native app without need of Simulator or Emulator.
flutter run lib/challenge1/main.dart -d linux
flutter run lib/challenge3/main.dart -d linux
You always can see how the code works in release(production) mode that executes faster and much performant (but takes bit more seconds to be compiled), just add the "--release" argument like that.
flutter run --release
flutter run lib/challenge3/main.dart --release
© Max Shemetov, 2023