You don’t have to do any setup or installation right now, because for this example, you can use DartPad. DartPad is a browser-based text editor that lets you write and run Dart, HTML, and CSS. Find it at https://dartpad.dartlang.org/.
DartPad is a pretty valuable tool for testing little bits of logic. It’s worth bookmarking in your browser and using as a tool when you’re trying to iterate quickly with Dart snippets.
18.227.134.154