- 23 Jan, 2016 1 commit
-
-
Adam Barth authored
Properly support labels, hints, icons, and custom typography.
-
- 22 Jan, 2016 1 commit
-
-
Hans Muller authored
-
- 21 Jan, 2016 1 commit
-
-
Adam Barth authored
Instead, require the developer to opt-in to autofocusing because autofocusing can be disruptive. Fixes #1307
-
- 11 Jan, 2016 1 commit
-
-
Adam Barth authored
Previously we used a positional argument for widgets that had multiple children. Now we use a named argument that defaults to an empty list. Fixes #241
-
- 30 Nov, 2015 1 commit
-
-
Hixie authored
To make it easier to avoid pushing twice in one frame, provide a transaction mechanism for the navigator.
-
- 06 Nov, 2015 1 commit
-
-
Hixie authored
It's common to want a scrolling viewport but with padding around the contents. Teaching Block about this makes the places that do this substantially simpler and further buries ScrollableViewport and BlockBody (they're now only used in scrollable.dart).
-
- 27 Oct, 2015 1 commit
-
-
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.
-
- 24 Oct, 2015 1 commit
-
-
Hixie authored
This makes skyanalyzer also check the examples, and fixes everything it found there.
-
- 19 Oct, 2015 1 commit
-
-
Adam Barth authored
Fixes #1669
-
- 12 Oct, 2015 1 commit
-
-
Adam Barth authored
Canvas is by far the most popular type of material by call site (and makes for a faster default because it doesn't have a RRect clip).
-
- 06 Oct, 2015 1 commit
-
-
Adam Barth authored
Rather than using a custom render object, we can just use a Stack.
-
- 03 Oct, 2015 1 commit
-
-
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
-
- 01 Oct, 2015 1 commit
-
-
Adam Barth authored
-
- 28 Aug, 2015 1 commit
-
-
Adam Barth authored
We're now using it at the widget layer for everything except scrolling and flinging.
-
- 26 Aug, 2015 1 commit
-
-
Hixie authored
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.
-
- 22 Aug, 2015 1 commit
-
-
Adam Barth authored
-
- 21 Aug, 2015 1 commit
-
-
Adam Barth authored
Block -> BlockBody ScrollableBlock -> Block FixedHeightScrollable -> ScrollableWidgetList VariableHeightScrollable -> ScrollableMixedWidgetList BlockViewport -> MixedViewport
-
- 08 Aug, 2015 1 commit
-
-
Ian Fischer authored
-
- 04 Aug, 2015 1 commit
-
-
James Robinson authored
This introduces the notion of event disposition and allows event targets (widgets and render objects) to consume events that should not be processed further. This is needed by the Switch component in the Drawer in the stocks example. The Switch is embedded in a DrawerItem. The Switch handles the gesture tap event to toggle its state and should handle pointer events to allow swiping and draw its own radial reaction. The DrawerItem also handles gesture taps to allow toggling the switch value when tapping anywhere on the drawer and to draw its own ink splash. When tapping on the switch, both the switch's render object and the DrawerItem's listener are in the event dispatch path. The Switch needs to signal in some fashion that it consumed the event so the DrawerItem does not also try to toggle the switch's state.
-
- 28 Jul, 2015 2 commits
-
-
Chinmay Garde authored
-
Chinmay Garde authored
-
- 24 Jul, 2015 2 commits
-
-
Jim Simon authored
Converted demo launcher example to library Converted fitness example to library Converted hello world example to library Converted mine digger example to library Converted stocks example to library
-
Collin Jackson authored
-
- 23 Jul, 2015 1 commit
-
-
Adam Barth authored
- Remove unused imports - Remove unused, broken constructor for MineDiggerApp
-
- 22 Jul, 2015 1 commit
-
-
Collin Jackson authored
-