- 05 Oct, 2015 5 commits
-
-
Viktor Lidholt authored
-
Adam Barth authored
Fixes #1170
-
Chinmay Garde authored
Example: import 'package:sky/widgets.dart'; void main() => runApp(new Center(child: new StatisticsOverlay.allEnabled()));
-
Adam Barth authored
This patch converts drawer to using the "openDialog" pattern for managing its state. Currently, the drawer entrance and exit animation aren't integrated with the navigator's animation system because the drawer's animations can be stopped and reversed, which the navigator can't yet understand. That means dismissing the drawer via the system back button causes the drawer to be removed instanteously. Fixes #715 Fixes #1187
-
Adam Barth authored
This patch folds the functionality from AnimatedSimulation into Timeline.
-
- 03 Oct, 2015 9 commits
-
-
Adam Barth authored
Rather than having two objects driving scrolling animations, we now have one object, a Timeline, drive both scrollTo and fling animations. Using Timeline instead of AnimatedSimulation paves the way to removing AnimatedSimulation (which is now used only inside the animation library). Finally, this patch also simplifies (and makes private) _TweenSimulation by using AnimatedValue to do the math.
-
Adam Barth authored
The only client wants a zero-based duration.
-
Adam Barth authored
This patch prepares us to switch to using integers when handing off the animation time from the engine to the framework.
-
Adam Barth authored
We already forced hitting end on 1.0. Fixes #1358
-
Adam Barth authored
After this patch, InkWell is driven by gesture recognizers, which lets us cleanly cancel splashes when the user actually scrolls. I've also refactored all the clients of InkWell to use InkWell to detect gestures instead of wrapping InkWell in a GestureDetector. Fixes #1271
-
Adam Barth authored
Turns out .. binds tigher than ??= according to https://www.dartlang.org/docs/dart-up-and-running/ch02.html#operators, which means we were only updating the callbacks when we first created the recognizers. Now we update them unconditionally.
-
Adam Barth authored
* Rename GestureTapListener (and friends) To GestureTapCallback to match the other gesture callbacks. * Replace "ensureFoo" pattern with ??= operator.
-
Adam Barth authored
Fixes #1372
-
Hans Muller authored
The ShaderMask widget enables rendering its child with an alpha channel defined by a Shader. For example if the Shader was a linear gradient in alpha then the component behind the ShaderMask's child would appear wherever the gradient's alpha value was not fully opaque. The card_collection.dart example demonstrates this. Select the "Let the sun shine" checkbox in the app's drawer.
-
- 02 Oct, 2015 9 commits
-
-
Adam Barth authored
This widget is used in Material and Drawer. We don't currently support animating towards null, but we can add that in a future patch.
-
Adam Barth authored
Fixes #1320
-
Hixie authored
This is probably a sign that you're using fn2 still.
-
Viktor Lidholt authored
-
Viktor Lidholt authored
-
Hixie authored
I'm not sure this specific incarnation of the test ever crashed, since the original test depended on user interaction and now works fine, but just in case, here's a regression test for it so I can close that issue. This also slightly changes the Widget.toString() output to include the key since that will make debugging easier.
-
Hixie authored
-
Hixie authored
You can now set an offset that will be used for the hit testing for drops. (It doesn't move the feedback by default; use a Transform for that.) I also made the default feedback not be Opacity 0.5 always.
-
Adam Barth authored
This patch causes widgets with global keys to drag their state (including their children) with them as they travel through the element tree.
-
- 01 Oct, 2015 17 commits
-
-
Andrew Wilson authored
-
Adam Barth authored
-
Hixie authored
-
Hixie authored
- Rename EdgeDims constructor to EdgeDims.TRBL(). - Add operator== to Size and Offset so that you can compare Size to DebugSize in checked mode. - Add Size.lerp(). - Add various operators to EdgeDims. (*, /, ~/, %) - Add EdgeDims.lerp(). - Update style guide. I went there to fix an EdgeDims constructor example, and stayed because some recent things came up and I wanted to add them before I forgot.
-
Adam Barth authored
* Moves from vector_math to vector_math_64 * Adds support for Float64List in Dart bindings
-
Adam Barth authored
This patch prepares us to move these elements around in the tree.
-
Hixie authored
Mostly because we can, but hopefully it'll catch someone who accidentally copypasted their createState method.
-
Collin Jackson authored
-
Hixie authored
This is step 1 in making it possible to have hero transitions between routes. To make it possible for a route to have an "exit" animation when a new route has been pushed on top of it, we provide the next route's AnimationPerformance to the build function. It's null if there is no next route or if the next route has no performance.
-
Hixie authored
...for consistency with the other Route subclasses: ``` dialog.dart: class DialogRoute extends Route drag_target.dart: class DragRoute extends Route navigator.dart: class PageRoute extends Route navigator.dart: class StateRoute extends Route popup_menu.dart: class MenuRoute extends Route ```
-
Hixie authored
This removes GlobalKey.currentElement in favour of GlobalKey.currentContext.
-
Collin Jackson authored
-
Adam Barth authored
Fixes #1084
-
Adam Barth authored
-
Adam Barth authored
-
Adam Barth authored
-
Hans Muller authored
-