flutter/dev/benchmarks/test_apps/stocks
Srujan Gaddam d8ffc7390c
Pin package:web 0.4.0 (#138428)
This version is needed so that dart:js_interop can move to extension
types. Also adds some code to handle some breaking changes:

- Body -> Response. Body was an IDL interface mixin type we exposed in
dart:html. Going forward, users should either use Request or Response.
- Casts to JSAny. These are temporary until we move package:web types to
extension types. Currently, package:web types can't implement JSObject
as JSObject will move to be an extension type itself.

Co-authored-by: Kevin Moore <kevmoo@users.noreply.github.com>
2023-11-15 15:03:21 -08:00
..
android [Android] Support Android 34 (take 2) (#137967) 2023-11-09 22:40:15 +00:00
ios iOS info.plist template: make UIViewControllerBasedStatusBar to be true (#128970) 2023-06-20 18:11:18 +00:00
lib Remove unused generic type from BottomSheet (#137791) 2023-11-03 22:25:37 +00:00
test Reland "Remove references to BindingBase.window (#122119 & #122341)" (#122412) 2023-03-14 16:48:07 +00:00
test_driver Skip test audit for dev tests. (#87147) 2021-08-03 11:17:41 -07:00
l10n.yaml [Stocks App] NNBD migration, refresh gen-l10n (#79460) 2021-03-31 19:59:02 -07:00
pubspec.yaml Pin package:web 0.4.0 (#138428) 2023-11-15 15:03:21 -08:00
README.md Fixes documentation inconsistencies around 'material' and 'material design' (#102632) 2022-04-27 09:29:06 -07: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 pub get
  • 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 gen_l10n tool.

See regenerate.md for an explanation for how the tool is used to generate localizations for this app.

Icon

The 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 in the public domain.