- 28 Oct, 2015 11 commits
-
-
Collin Jackson authored
Media query class for querying viewport dimensions
-
Matt Perry authored
Some initial unit tests for package signing
-
Hans Muller authored
-
Matt Perry authored
-
Collin Jackson authored
-
Adam Barth authored
Icon should use an enum rather than an int for size
-
Adam Barth authored
Remove unused material edge definition
-
Adam Barth authored
Material design icons are defined to work at specific sizes: 18, 24, 36, 48. The current API doesn't reflect that and just takes a size int. If an invalid size is chosen an error is printed to the console and no icon shows up. Fixes #1816
-
Adam Barth authored
The one we actually use is in material.dart.
-
Adam Barth authored
-
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 7 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
-