mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Text styles are now a global constant instead of being initialised dynamically. There are now sufficient text styles for 8 mines around a square. I coallesced Game and MineDiggerApp. Used an enum instead of constants for the cell state. Used setState() instead of scheduleBuild(). Used an O(N) algorithm for mine laying instead of the previous potentially-never-ending algorithm. Moved the listener on the cells to the app, so that the logic survives a rebuild. Various other minor changes.
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.