- 30 Oct, 2015 1 commit
-
-
Viktor Lidholt authored
-
- 27 Oct, 2015 3 commits
-
-
Adam Barth authored
Fixes #1807
-
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.
-
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
-
- 24 Oct, 2015 1 commit
-
-
Hixie authored
This makes skyanalyzer also check the examples, and fixes everything it found there.
-
- 20 Oct, 2015 1 commit
-
-
Adam Barth authored
The style we use for callbacks in widgets is "onFoo". These classes were using an order naming convention and just called their callbacks "callback".
-
- 13 Oct, 2015 2 commits
-
-
Adam Barth authored
-
Jason Simmons authored
-
- 10 Oct, 2015 1 commit
-
-
Adam Barth authored
-
- 09 Oct, 2015 2 commits
-
-
Adam Barth authored
MaterialApp assumes that you're using material design. Also move radial reaction and fix imports for stats box.
-
Adam Barth authored
These are now part of material.dart.
-
- 08 Oct, 2015 1 commit
-
-
Adam Barth authored
Clients should just use a GestureDetector (or an InkWell) instead.
-
- 06 Oct, 2015 1 commit
-
-
Viktor Lidholt authored
-
- 05 Oct, 2015 1 commit
-
-
Hixie authored
(These are changes cherry-picked from in-flight branches since they are more independent and could be helpful even without those changes.) - Change RouteBuilder's signature to take a single argument in which the other fields are placed, so that we can keep iterating on those arguments without having to break compatibility each time. Also, this makes defining route builders much simpler (only one argument to ignore rather than a variable number). - Expose the next performance to RouteBuilders, since sometimes the route itself might not be where it's used. - Allow BuildContext to be used to walk children, just like it can for ancestors - Allow BuildContext to be used to get the Widget of the current BuildContext - Allow StatefulComponentElement to be referenced with a type specialisation so that you don't have to cast when you know what the type you're dealing with actually is.
-
- 01 Oct, 2015 2 commits
-
-
Adam Barth authored
-
Adam Barth authored
-
- 18 Sep, 2015 2 commits
-
-
Adam Barth authored
Importing the public libraries caused a name conflict with dart:sky because we assume people will import dart:sky into a namespace, so I've also changed skysprites to import dart:sky into a namespace.
-
Adam Barth authored
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.
-
- 17 Sep, 2015 1 commit
-
-
Adam Barth authored
What's important about this code is that it's presenting services outside the VM, not the particular technology used to present the services.
-
- 08 Sep, 2015 1 commit
-
-
Adam Barth authored
-
- 02 Sep, 2015 1 commit
-
-
Adam Barth authored
Code outside of package:sky should import this code using package:sky/rendering.dart package:sky/widgets.dart Moving this code into the "src" directory is a convention that signifies that and it cleans up the generated dartdoc because the libraries in the src directory aren't included in the generated documentation. Instead, the classes are documented in the widgets.dart and rendering.dart libraries.
-
- 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.
-
- 25 Aug, 2015 1 commit
-
-
Viktor Lidholt authored
-
- 24 Aug, 2015 2 commits
-
-
Viktor Lidholt authored
-
Viktor Lidholt authored
-
- 21 Aug, 2015 1 commit
-
-
Adam Barth authored
Fixes #743
-
- 18 Aug, 2015 2 commits
-
-
Viktor Lidholt authored
-
Eric Seidel authored
This was the last instance of loading assets off of Github. @abarth
-
- 17 Aug, 2015 1 commit
-
-
Eric Seidel authored
@abarth
-
- 13 Aug, 2015 2 commits
-
-
Viktor Lidholt authored
-
Viktor Lidholt authored
-
- 10 Aug, 2015 1 commit
-
-
Ian Fischer authored
-
- 08 Aug, 2015 1 commit
-
-
Ian Fischer authored
-
- 04 Aug, 2015 1 commit
-
-
Adam Barth authored
It was confusing to have both widget.dart and widgets.dart
-
- 29 Jul, 2015 3 commits
-
-
Viktor Lidholt authored
-
Viktor Lidholt authored
-
Viktor Lidholt authored
-
- 28 Jul, 2015 2 commits
-
-
Chinmay Garde authored
-
Chinmay Garde authored
-
- 23 Jul, 2015 1 commit
-
-
Viktor Lidholt authored
-