Examples

Last updated last month

Examples can help to show some good patterns for creating elegant apps. These are currently available:

Testdrive

This is the getting started project as explained in the test drive chapter of the documentation. It shows a simple hello world using pug and sass.

Counter

A flutter-view version of the Flutter starter project. It uses the reactive tag and the flutter-view-tools library for responding and updating the count.

Instead of having the counter state in the widgets, it is kept in the application model, and the HomePage flutter-view listenes to the model and updates itself when the user presses the + button.

Todolist

An example of how you can build a simple todo app using flutter-view and the flutter-view-tools library. It separates the app model from the page model. This is a structure that can scale as your app grows and you add more pages. The Writing Reactive code chapter builds this app step by step.