- 28 Oct, 2015 2 commits
-
-
Adam Barth authored
The one we actually use is in material.dart.
-
Adam Barth authored
-
- 27 Oct, 2015 22 commits
-
-
krisgiesing authored
-
Hans Muller authored
-
Kris Giesing authored
-
Hixie authored
The Rendering layer binding now multiplexes the dart:ui metrics change notification so that multiple consumers can all listen to the change.
-
Adam Barth authored
Fixes #1807
-
Adam Barth authored
Add a position to the onTap callback
-
Adam Barth authored
Fixes #1807
-
Viktor Lidholt authored
Improves physics debug drawing
-
Ian Hickson authored
- Change RouteArguments to pass the route's BuildContext rather than the Navigator. This caused the bulk of the examples/ and .../test/ changes (those are mostly mechanical changes). It also meant I could simplify Navigator.of(). - Make initState() actually get called when the State's Element is in the tree, so you can use Foo.of() functions there. Added a test for this also. - Provide a RouteWidget so that routes have a position in the Widget tree. The bulk of the route logic is still in a longer-lived Route object for now. - Make Route.setState() only rebuild the actual route, not the whole navigator. - Provided a Route.of(). - Provided a Route.writeState / Route.readState API that tries to identify the clients by their runtimeType, their key, and their ancestors keys, up to the nearest ancestor with a GlobalKey. - Made scrollables hook into this API to track state. Added a test to make sure this works. - Fix the debug output of GestureDetector and the hashCode of MixedViewport. - Fixed ScrollableWidgetListState<T> to handle infinite lists.
-
Viktor Lidholt authored
-
Viktor Lidholt authored
-
Viktor Lidholt authored
-
Adam Barth authored
We still use special-purpose typedefs in the gesture code for symmetry with other gesture callbacks. Fixes #1827
-
Adam Barth authored
Add CustomOneChildLayout
-
Adam Barth authored
Make TapTracker and TapGesture private classes
-
Adam Barth authored
A CustomOneChildLayout is a widget that lets you perform a custom layout in the simplified setting of sizing and positioning a single child.
-
Adam Barth authored
Previous these callbacks were leaking the implementation detail that they were triggered by taps. In a later patch, we're going to add a parameter to GestureTapCallback that these callbacks won't have. Related to #1807
-
Adam Barth authored
We don't want to expose these from the gesture package. This patch moves DoubleTapGestureRecognizer into tap.dart so we can make TapTracker and TapGesture private to that file.
-
Ian Hickson authored
Use the presence of handler to determine 'enabled'
-
Adam Barth authored
Right-aligned text paints offscreen sometimes
-
Hixie authored
Instread of an explicit 'enabled' bool, this uses the presence of the event handler to determine if a widget is enabled or not. This means that if you've not passed a handler, your widget will be disabled, which makes sense, since it wouldn't work anyway. Adds this feature to checkbox, and ports raised button, flat button, and radio buttons to this new model. Adds a checkbox to card_collection that can be disabled. Hide a (basically bogus) hint from the (soon to be disabled) strong hint mode in the analyzer that this reveals.
-
Hixie authored
-
- 26 Oct, 2015 16 commits
-
-
Viktor Lidholt authored
-
Viktor Lidholt authored
-
Viktor Lidholt authored
-
Viktor Lidholt authored
sprite nodes now caches inverse transforms
-
Viktor Lidholt authored
-
Adam Barth authored
We were assuming that the text extended from 0.0 to its max content width. That's not correct for right-aligned text. Instead, we need to layout the text again at the width we want it to occupy.
-
krisgiesing authored
Handle mouseover events in pointer event conversion
-
Kris Giesing authored
Fixes #1806
-
Hixie authored
Also: - give card_collection an option to turn on or off the edit widgets - give card_collection an option to control text alignment (when not editing) - give card_collection a "dump" option to aid debugging - make the gesture detector report which gestures it is listening to
-
Viktor Lidholt authored
-
krisgiesing authored
Restore previous tap behaviors: no timeout, one pointer
-
Adam Barth authored
Be explicit about whether text styles inherit
-
Kris Giesing authored
Don't use a timeout to cancel tap tracking. Track only one primary pointer and ignore non-primary pointers. Update tests to reflect desired behaviors. Fixes #1779, #1780, #1781.
-
Viktor Lidholt authored
Adds motors to revolute joints and prismatic joints
-
Adam Barth authored
Now TextStyle has a boolean "inherit" value, which controls whether null values should use should inherit from the current default text style or whether they should use their initial values.
-
Viktor Lidholt authored
-