Book Image

Learning Dart, Second Edition - Second Edition

By : Ivo Balbaert
Book Image

Learning Dart, Second Edition - Second Edition

By: Ivo Balbaert

Overview of this book

Table of Contents (18 chapters)
Learning Dart Second Edition
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Model Concepts – a graphical design tool for our models


This project is also hosted on GitHub. To get a local copy, open your Git bash terminal, go to the folder where you want to store the code, and issue the following command:

git clone git://github.com/dzenanr/model_concepts.git

After a few seconds, the model_concepts folder is created. It contains the whole project. Open the folder in Dart Editor to get a feel of how it is constructed. It is a web app containing the <script type="application/dart" src="model_concepts.dart"></script> script tag, and it starts the Dart VM with model_concepts.dart. When you run the app, the graphical designer appears in Chrome (Dartium). If you want to run it in another browser without Dart VM, first generate the JavaScript version through Tools | Pub Build – Debug and then paste the URL in the address window of your favorite browser (something like http://127.0.0.1:3030/F:/git/model_concepts/web/model_concepts.html) or simply run it with pub...