O'Reilly logo

Learning Dart by Ivo Balbaert, Dzenan Ridjanovic

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

An example of using Dartlero

To get a better feeling of what using a framework entails, let us examine the project that exists as the example folder in the dartlero project and as a separate project called dartlero_example at GitHub (there are slight differences due to the pub specifications). Get your copy in a separate folder with:

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

Then, open the folder dartlero_example in Dart Editor.

This app defines the simplest possible model: a project model with only one concept, a Project. We will now use the Dartlero framework. The dependency on this package is indicated in the pubspec.yaml file so that it can be managed by pub:

name: dartlero_example version: 1.0.0 author: Dzenan Ridjanovic <dzenanr@gmail.com> ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required