24 Commits

Author SHA1 Message Date
Adam Barth
7c9f496f1b Port MineDigger to fn3 2015-09-26 12:53:14 -07:00
Adam Barth
219ee8a34b Rename Sky to Flutter in a few more places 2015-09-26 12:46:03 -07:00
James Robinson
5b8443e440 Updates for change in Mojom dart enum generation 2015-09-24 10:35:20 -07:00
Adam Barth
49c8aca09c Remove EventDisposition
All the use cases for EventDisposition are now addressed by the gesture
detection system.
2015-09-21 16:45:09 -07:00
Adam Barth
d481a3e9d1 Move theme into material.dart
Also, introduce Colors and Typography to hold the material colors and the
typography declarations. Previously we expected clients of these libraries to
import them into a namespace, but that doesn't play nice with re-exporting them
from material.dart.
2015-09-18 09:57:21 -07:00
Adam Barth
5abb242329 Move mojo frontend into services.dart
What's important about this code is that it's presenting services outside the
VM, not the particular technology used to present the services.
2015-09-16 19:13:50 -07:00
Scott Graham
6a4d9cb014 mine_digger: Fix not being able to de-flag on Android 2015-09-09 14:53:35 -07:00
Adam Barth
f9567cd9d5 Introduce painting.dart and move painting code to src/painting 2015-09-08 10:36:14 -07:00
Adam Barth
9e932b45bb Fold package:sky/editing/* into package:sky/widgets.dart
The editing directory just defined two widgets. We might as well fold them into
the main widgets library.
2015-09-07 10:07:41 -07:00
Hixie
1e551c1e5d Remove the silly dialog.
Fixes #247.
2015-08-31 14:41:34 -07:00
Hixie
e016635792 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
dd7e42eeb3 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
18c464b1c9 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
5804b81d74 Rename all the scrollable classes
Block -> BlockBody
ScrollableBlock -> Block
FixedHeightScrollable -> ScrollableWidgetList
VariableHeightScrollable -> ScrollableMixedWidgetList
BlockViewport -> MixedViewport
2015-08-21 14:39:41 -07:00
Adam Barth
24a68cb445 Add SetRequestedOrientation to Activity service
Fixes #743
2015-08-21 12:49:49 -07:00
Adam Barth
a7df18a0d4 Update playfair revision
... and reattach fitness to the build. We detached fitness from the build
because it was seeing an old version of playfair that didn't work with the most
recent version of the Sky package.
2015-08-19 09:05:30 -07:00
Adam Barth
63767d67de Temporary build fix
Unhook fitness from the build to work around build break in playfair. We
updated the Sky package in an incompatible way, which means we need to roll in
a new playfair package to build fitness.
2015-08-18 21:50:29 -07:00
Adam Barth
25527c9919 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
81fcadc21d 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
2907e2c935 Merge pull request #533 from iansf/hello_world_pubspec
Hello world pubspec
2015-08-10 15:48:01 -07:00
Ian Fischer
f6ed9b6aae Hello world pubspec 2015-08-10 15:46:32 -07:00
Ian Fischer
7f8019e4b1 Address book pubspec 2015-08-10 15:40:48 -07:00
Ian Fischer
4cbf7296be Minedigger pubspec 2015-08-10 12:47:18 -07:00
Ian Fischer
4a75fbeff9 Move example out of sky/packages to //examples 2015-08-07 17:04:50 -07:00