# flutter-by-example
A collection of simple, bare-bones Flutter apps that each demonstrate a concept

The apps are slowly being updated to Dart 2; be sure to use the __--preview-dart-2__ flag when running/compiling these examples

## Apps

1. __Hello World__: one-line Flutter app __Updated for Dart 2__
2. __Material Navigation__: two screen Flutter that demonstrates navigation using Material
    * (2.1) __Routing with data__: passing data between navigation routes
3. __TextField__: example of a simple single-line text field and a multi-line text field with a submit button
4. __HTTP__: fetching text and images over http
5. __Layouts__: example widget Layouts
6. __Lists__: example list view
    * (6.1) __Dynamic lists__: create a dynamic (infinite) list with dividers 
7. __Stacks__: how to render widgets at set positions in a stack
8. __Inherited Widgets__: how to use inherited widgets to pass data down a widget tree
9. __i18n__: simple example of i18n support in Flutter
10. __Driver Testing__: a simple demonstration driver test
11. __JSON Parsing__: parses a JSON network response
12. __Streams__: handle state updates using streams
    * (12.1) __StreamBuilder__: handle state updates using StreamBuilder
    * (12.2) __RxDart__: handle state updates using StreamBuilder with Observables
    * (12.3) __JSON with Streams__: HTTP and JSON parsing using streams
13. __Bottom Nav Bar__: Simple bottom nav bar implementation, using Stack and OffStage
14. __Custom Painter__: implements a basic bar chart using a custom painter
15. __Tabs__: tabbed pages demo

## Flutter Docs

For help getting started with Flutter, view Flutter's online
[documentation](http://flutter.io/).
