O'Reilly logo

Dart By Example by Davy Mitchell

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

Consuming application

We now have two parts of the solution: the collected data and the web service to publish it. The next step is to build a client application that will talk to the web service. Initially, we will have a details grid view (or table for the HTML-minded) of the ten latest incoming data.

Rather than having the user update the page, the screen will auto-update periodically with the latest earthquake information.

Packaging the grid

The grid display may be useful for other applications, so it will be split off into its own project as the package webgridview, as shown here:

name: 'GridViewer' version: 0.0.1 description: A grid viewer for GeoJSON data. environment: sdk: '>=1.0.0 <2.0.0' dependencies: browser: '>=0.10.0 <0.11.0' intl: any ...

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