- 12 Mar, 2016 1 commit
-
-
Adam Barth authored
This patch renames StatelessComponent to StatelessWidget and StatefulComponent to StatefulWidget. Fixes #2308
-
- 06 Mar, 2016 1 commit
-
-
Ian Hickson authored
Fixes https://github.com/flutter/flutter/issues/1346
-
- 26 Feb, 2016 1 commit
-
-
Hixie authored
...and friends.
-
- 15 Feb, 2016 1 commit
-
-
Adam Barth authored
This patch teaches the widget framework how to use Cassowary-based autolayout. To integrate autolayout with widgets, I had to refactor how RenderAutoLayout worked a bit. Now RenderAutoLayout follows the same delegate pattern we use for custom paint and custom layout.
-
- 09 Feb, 2016 1 commit
-
-
Hixie authored
-
- 06 Feb, 2016 1 commit
-
-
Adam Barth authored
The virtual viewport machinery now handles all of these use cases. Previous clients of ScrollableWidgetList can use ScrollableLazyList instead.
-
- 03 Feb, 2016 1 commit
-
-
Adam Barth authored
This patch sketches out the basic widgets for creating Mozart child views. We're still missing some of the machinery, so we can't quite create child views yet, but once we supply the ViewHost and teach the compositor how to actually display the child scenes, we'll have something that works.
-
- 29 Jan, 2016 1 commit
-
-
Kris Giesing authored
-
- 27 Jan, 2016 1 commit
-
-
Hixie authored
-
- 26 Jan, 2016 1 commit
-
-
Adam Barth authored
RawKeyboardListener makes it easier to listen for raw keyboard events. Fixes #787
-
- 22 Jan, 2016 1 commit
-
-
Adam Barth authored
This patch restructures how we size the editing region of the Input widget. Now RenderEditableLine understands that it's a single-line editing widget and sizes itself correctly.
-
- 21 Jan, 2016 1 commit
-
-
Adam Barth authored
Previously this code was in the animation layer, which didn't make much sense because scrolling is a widget concern.
-
- 11 Jan, 2016 1 commit
-
-
Ian Hickson authored
-
- 10 Jan, 2016 1 commit
-
-
Ian Hickson authored
-
- 05 Jan, 2016 1 commit
-
-
Adam Barth authored
ScrollableList2 uses the same pattern as ScrollableGrid, which requires the client to allocate widgets for every list item but doesn't inflate them unless they're actually needed for the view. It improves on the original ScrollableList by not requiring a rebuild of the whole visible portion of the list when scrolling. In fact, small scrolls can often be handled entirely by repainting.
-
- 04 Jan, 2016 1 commit
-
-
Adam Barth authored
We now support (vertically) scrollable grids with viewporting. If the scroll doesn't reveal any new rows, we execute the scroll with a repaint (i.e., no layout). If the scroll reveals a new row, we trigger a layout to change the set of materialized children in the viewport.
-
- 09 Dec, 2015 1 commit
-
-
Hans Muller authored
-
- 08 Dec, 2015 2 commits
-
-
Adam Barth authored
-
Jason Simmons authored
Users of MaterialApp can provide an onLocaleChanged handler that will be called to asynchronously fetch locale-specific data. MaterialApp will then instantiate a LocaleQuery that supplies the locale data to its descendants.
-
- 04 Dec, 2015 1 commit
-
-
Collin Jackson authored
-
- 03 Dec, 2015 1 commit
-
-
Hixie authored
-
- 01 Dec, 2015 1 commit
-
-
Ian Hickson authored
-
- 16 Nov, 2015 1 commit
-
-
Hixie authored
PageRoute is now MaterialPageRoute. This also changes the following: - Now the HeroController is a Navigator observer, rather than a feature of HeroPageRoutes, which are gone. This means heroes can work between any kind of ModalRoute now. - ModalPageRoute is moved from modal_barrier.dart to routes.dart. - It allows routes to opt-out of their modal barrier being a shortcut to popping the route. - Features of PageRoute that aren't Material-specific get promoted to ModalRoute features: storage, the subtree key, offstageness... The AnimatedModalBarrier is still a ModalRoute feature.
-
- 02 Nov, 2015 3 commits
-
-
Adam Barth authored
Somehow we missed this one file.
-
Adam Barth authored
This patch introduces the notion of a ModalRoute that puts up a modal barrier and makes the route invisible to hit testing when its animating out. This patch also uses this mechanism in a number of places (including PageRoute). There are still a few more cases to convert, but that's work for a future patch. Fixes #1684
-
Kris Giesing authored
-
- 30 Oct, 2015 1 commit
-
-
Adam Barth authored
-
- 28 Oct, 2015 1 commit
-
-
Collin Jackson authored
-
- 21 Oct, 2015 2 commits
- 20 Oct, 2015 1 commit
-
-
Adam Barth authored
This widget smoothly resizes as its child changes and lets you provide entrance and exit transitions for its children.
-
- 09 Oct, 2015 1 commit
-
-
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 2 commits
-
-
Adam Barth authored
This class has no clients.
-
Adam Barth authored
Now SnackBar is an ephemeral route that uses a Placeholder to put itself into the Scaffold. Fixes #673
-
- 05 Oct, 2015 1 commit
-
-
Chinmay Garde authored
Example: import 'package:sky/widgets.dart'; void main() => runApp(new Center(child: new StatisticsOverlay.allEnabled()));
-
- 02 Oct, 2015 1 commit
-
-
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.
-
- 01 Oct, 2015 2 commits
-
-
Adam Barth authored
* Moves from vector_math to vector_math_64 * Adds support for Float64List in Dart bindings
-
Adam Barth authored
-
- 18 Sep, 2015 1 commit
-
-
Hixie authored
Instead of having to manage the popup menu from your app's build function, you now just call showPopupMenu() with the menu's position and it takes care of everything for you. This solves the problem that the popup menu was trying to mutate the state of the navigator from within its own initState() function. Also, remove the "route" argument to RouteBase.build() since it equals "this" by definition... Also, remove ModalOverlay, and instead put that logic in the navigator.
-