Scott Graham
4a7718d344
mine_digger: Fix not being able to de-flag on Android
2015-09-09 14:53:35 -07:00
Adam Barth
5108e15ed0
Introduce painting.dart and move painting code to src/painting
2015-09-08 10:36:14 -07:00
Hixie
9047830c2e
Rationalise the Key API.
...
Add a way of having keys based on numeric types or DateTimes by having a ValueKey<T> class.
Remove the redundant ways of declaring things, except for leaving one shorthand -- you can say `new Key(s)` instead of `new ValueKey<String>(s)`.
2015-08-28 13:17:34 -07:00
Adam Barth
dc84e882df
Use GestureDetector in the framework and examples
...
We're now using it at the widget layer for everything except scrolling and
flinging.
2015-08-28 10:58:46 -07:00
Hixie
ce28a7176e
Replace Flex to Row and Column in tests and examples.
...
This still leaves Flex and FlexDirection available. At some point once
people have transitioned to Row/Column we should rename Flex to _Flex
and stop reexporting FlexDirection from basic.dart.
2015-08-26 09:05:14 -07:00
Adam Barth
51c7194075
Add SetRequestedOrientation to Activity service
...
Fixes #743
2015-08-21 12:49:49 -07:00
Adam Barth
dea3a0922c
Add package:sky/rendering.dart
...
Similar to widgets.dart, rendering.dart exports the entire rendering layer.
Also, update the examples to use rendering.dart and widgets.dart. Also clean up
some exports so that the examples have more sensible imports.
2015-08-18 21:39:51 -07:00
Adam Barth
6efbcdc975
Add haptic and aural feedback service
...
And use the service in mine_digger to notify the user when they flag a bomb.
2015-08-14 12:46:04 -07:00
Ian Fischer
8075ee9fb0
Minedigger pubspec
2015-08-10 12:47:18 -07:00
Ian Fischer
d44ed7dfc3
Move example out of sky/packages to //examples
2015-08-07 17:04:50 -07:00
Ian Fischer
82404e030a
Move sky/examples to sky/sdk/lib/example, and code changes to support that change. Fixes T277.
...
R=abarth@chromium.org
Review URL: https://codereview.chromium.org/1218593002 .
2015-06-26 15:06:40 -07:00
Carlos Pizano
45ccc2e812
fix minedigger win bug
...
Win was not being detected.
BUG=none
R=abarth@chromium.org
Review URL: https://codereview.chromium.org/1209823002 .
2015-06-24 18:14:51 -07:00
Eric Seidel
edda0bb855
Use new Widgets in mine_digger.
...
I'm not sure I made it look better. But it uses Widgets
instead of rolling its own Flex, etc.
R=ianh@google.com , cpu@chromium.org
Review URL: https://codereview.chromium.org/1201293003 .
2015-06-23 15:20:44 -07:00
Carlos Pizano
6a858a9486
Add minedigger example
...
A very basic minesweeper clone. Currently only tested in linux.
BUG=none
R=abarth@chromium.org , eseidel@chromium.org
Review URL: https://codereview.chromium.org/1196213012 .
2015-06-23 11:19:35 -07:00