Added
A trainee must use DartPad to verify a short Dart example before saving it as a local Dart project in IntelliJ IDEA. The trainee already has internet access and IntelliJ IDEA installed, but has not yet checked whether the local Dart SDK is available. Arrange the steps in the order they should be performed.
Drag the steps into the correct order, or use the arrows.
- Enter the example in DartPad and run it
- Create a Dart project in IntelliJ IDEA
- Save the verified code in the local project
- Verify the local Dart SDK is installed and configured in IntelliJ IDEA
- Verify the local Dart SDK is installed and configured in IntelliJ IDEA
- Enter the example in DartPad and run it
- Create a Dart project in IntelliJ IDEA
- Save the verified code in the local project
DartPad can run the example independently of the local SDK, so the trainee can first verify the code there. Before creating and editing the local Dart project, confirm that IntelliJ IDEA can use the Dart SDK. Then create the project and save the verified code. Creating the project before checking the SDK risks a project that cannot be configured for Dart, while saving before verification defeats the stated workflow.