Appendix. Setting Up Your Environment
Dart is a feature-rich language that provides variables, data handling, control flow, and much more. Experience with languages such as JavaScript, Python, and C will mean your transition to Dart should not be difficult. If you are new to programming, I believe you will be pleasantly surprised by how quickly you can produce an application.
The Dart and Flutter teams have provided a comprehensive treasure trove of tutorials. Even better, the community working in these technologies has raised the bar for immersive solutions and demonstrations to quickly get you up to speed.
In this appendix, you will learn how to install the Dart software development kit (SDK). Multiple options exist to run a Dart environment, so I will walk you through the most common options (e.g., DartPad, Android Studio, and VS Code).
Determining Which Dart Installation to Use
Dart can be used directly from the browser in a predefined environment such as DartPad.
Using DartPad in the browser will be sufficient for starting out and trying the language. If you intend to build a modest application and do not require external dependencies (e.g., graphics, files, etc.), the browser environment will align with your use case. Once you are ready for a more complex scenario than using shared SDK-provided libraries available in DartPad, you will want to explore other development options.
Alternatively, if you have the hardware to support it, the Dart SDK can be installed locally on ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access