flutter/examples/stocks
Martin Kustermann 9299c02cf7 Reland "Roll engine to version e3687f70c7ece72000b32ee1b3c02755ba5361ac (#20427)" (#20633)
* Reland "Roll engine to version b148e628ec86b3a9a0382e0bcfae73f0390a8232 (#20427)"

This is a re-land with downgraded `package:flutter_gallery_assets`
version.

* Downgrade package:flutter_gallery_assets to 0.1.4

* Change engine.version to 81baff97c29bb08cbf8453a3f9042c5813f84ad3 (which contains an additional fix)

* Change engine.version to e3687f70c7ece72000b32ee1b3c02755ba5361ac (since mac tarballs are corrupted on earlier commit)
2018-08-15 15:35:12 -07:00
..
android Upgradle Gradle dependencies to match Android Studio 3.1.2 (#18080) 2018-06-01 09:57:40 +02:00
ios Don't bundle Genereted.xcconfig as a resource (#19544) 2018-07-19 07:24:06 -07:00
lib re-re-enable lint unnecessary_const (#20103) 2018-08-02 12:02:32 +02:00
test change ThemeData.primaryColor to PrimarySwatch instead of PrimarySwatch[500] (#15265) 2018-03-14 10:39:56 -07:00
test_driver Shim package:test to avoid matcher issues (#20602) 2018-08-14 20:33:58 -07:00
pubspec.yaml Reland "Roll engine to version e3687f70c7ece72000b32ee1b3c02755ba5361ac (#20427)" (#20633) 2018-08-15 15:35:12 -07:00
README.md Spelling (#15229) 2018-03-06 21:36:03 -08:00

Stocks

Demo app for the material design widgets and other features provided by Flutter.

Building

You can follow these instructions to build the stocks app and install it onto your device.

Prerequisites

If you are new to Flutter, please first follow the Flutter Setup guide.

Building and installing the stocks demo app

  • cd $FLUTTER_ROOT/examples/stocks
  • flutter upgrade
  • flutter run --release

The flutter run --release command both builds and installs the Flutter app.

Internationalization

This app has been internationalized (just enough to show how it's done). It's an example of how one can do so with the Dart intl package.

The Flutter Internationalization Tutorial covers Flutter app internationalization in general.

See regenerate.md for an explanation of how the Dart internationalization tools, like intl_translation:generate_from_arb, were used to generate localizations for this app.

Icon

Icon was created using Android Asset Studio: https://romannurik.github.io/AndroidAssetStudio/icons-launcher.html#foreground.type=image&foreground.space.trim=0&foreground.space.pad=0&foreColor=607d8b%2C0&crop=0&backgroundShape=square&backColor=fff%2C100&effects=none

From this clipart: https://openclipart.org/detail/30403/tango-go-up Which is public domain.