This example makes use of the bloc pattern presented by Paolo Soares at DartConf.
This example requires Dart 2 be enabled. To run the example:
flutter run --preview-dart-2