mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Previously, if a subclass of FixedHeightScrollable didn't set itemCount, everything would silently work except that you wouldn't actully be able to scroll. This CL makes it harder to forget to provide the itemCount by making it an abstract getter. Now the analyzer will flag it as missing in subclasses and we'll throw an exception at runtime if you forget it. R=ianh@google.com, tonyg@google.com Review URL: https://codereview.chromium.org/1219933004 .
Sky Examples
This directory contains several examples of using Sky. Each of these is an
individual Dart application package. If you wish to run them with sky_tool
then you will want to run pub get inside their directory before running
./packages/sky/sky_tool start.
-
Hello, world. The hello world app is a basic app that shows the text "hello, world."
-
Stocks. The stocks app is an example of a typical mobile app built using Sky. The app shows a list of all the stocks in the NASDAQ.
-
Widgets. The widgets app contains a number of Sky widgets so you can experiment with them in a simple container.