The flutter-tizen tool is written in Dart. It extends the original Flutter CLI's functionality by (basically) overriding some of its classes and methods at the code level.
-
The flutter-tizen tool creates its snapshot (compiled Dart code) when it's run for the first time. To run the tool directly from source, run this in the repository root:
flutter/bin/dart bin/flutter_tizen.dart help
-
To force the snapshot to be re-generated, remove
bin/cache/flutter-tizen.snapshot
. -
To debug the tool with the VS Code debugger,
- Add
flutter-tizen
directory to your workspace. - Install the Dart extension for VS Code.
- Configure
launch.json
file as follows:{ "version": "0.2.0", "configurations": [ { "name": "flutter-tizen", "request": "launch", "type": "dart", "cwd": "${fileWorkspaceFolder}", "program": "${workspaceFolder}/bin/flutter_tizen.dart", "args": ["doctor"] } ] }
- Start debugging (F5).
- Add