- 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 2 commits
-
-
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.
-
Adam Barth authored
I've also removed the top-level description of the Sky package. Instead, we should host that content on flutter.io.
-
- 16 Sep, 2015 2 commits
-
-
Hixie authored
This also moves the logic that tracks what Widget is being watched into GlobalKeyWatcher, and much simplifies Mimic based on this.
-
Adam Barth authored
This widget has no client.
-
- 07 Sep, 2015 1 commit
-
-
Adam Barth authored
The editing directory just defined two widgets. We might as well fold them into the main widgets library.
-
- 05 Sep, 2015 1 commit
-
-
Devon Carew authored
revert PATH changes fix typo some dartdoc changes in files
-
- 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.
-
- 01 Sep, 2015 1 commit
-
-
Adam Barth authored
... and other code in object.dart.
-
- 31 Aug, 2015 1 commit
-
-
Hixie authored
Adds a HomogeneousViewport class that works like MixedViewport but handles only children that have all the same height. Converts ScrollableWidgetList to use that, so that we don't waste a frame looking at the size of the contents each time we change size. This allows a number of seemingly pointless double-pumps in the tests to be removed. Other changes that were necessary to support the above: - RenderBlock now supports minExtent (think 'min-height' in CSS) - RenderBlock now supports itemExtent (forces the height of each child to be the same, so that the itemExtent passed to the fixed- height scrollables are all authoritative instead of a source of bugs when they don't match) - RenderBlockViewport now supports horizontal scrolling - improved the style of the isInfinite assert in box.dart - fixed the position of a comment in mixed_viewport.dart - added a test - made the logic for how many items to show be more precise
-
- 30 Aug, 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.
-
- 25 Aug, 2015 1 commit
-
-
Collin Jackson authored
Also, add an example for the date picker
-
- 21 Aug, 2015 2 commits
-
-
Adam Barth authored
Block -> BlockBody ScrollableBlock -> Block FixedHeightScrollable -> ScrollableWidgetList VariableHeightScrollable -> ScrollableMixedWidgetList BlockViewport -> MixedViewport
-
Adam Barth authored
Fixes #743
-
- 19 Aug, 2015 1 commit
-
-
Adam Barth authored
Similar to widgets.dart, rendering.dart exports the entire rendering layer. Also, update the examples to use rendering.dart and widgets.dart. Also clean up some exports so that the examples have more sensible imports.
-
- 17 Aug, 2015 1 commit
-
-
Adam Barth authored
Widgets that want to receive drops should include a DropTarget in their build. Currently there's no widget for initiating a drag. Components can use the DragController directly. In the future, we'll probably want to add a Draggable that knows how to do some of this work automatically. Fixes #612
-
- 07 Aug, 2015 1 commit
-
-
Adam Barth authored
This widget lets you mimic one of its children in an overlay. The overlay starts out as the same size of the child and then grows to fill the overlay. In the future, the mimic will start at the same visual position as the child.
-
- 06 Aug, 2015 1 commit
-
-
Adam Barth authored
Wrap widgets you want to reparent in a Mimicable widget and assign the Mimicable widget a global key. Then, given the same global key to a Mimic widget to make it appear elsewhere in the view hierarchy.
-
- 05 Aug, 2015 1 commit
-
-
Eric Seidel authored
I can't really make further progress until at least: https://github.com/dart-lang/dartdoc/issues/766 is resolved, ideally also: https://github.com/dart-lang/dartdoc/issues/763 @abarth
-
- 04 Aug, 2015 2 commits
-
-
Adam Barth authored
It was confusing to have both widget.dart and widgets.dart
-
James Robinson authored
This refactors Checkbox to own a RenderObject similar to how Switch was refactored in https://github.com/domokit/sky_engine/pull/376 and extracts common functionality for toggleable renderers into a base class. Switch and Checkbox's render objects derive from this base class to add their own custom painting and theming logic.
-
- 03 Aug, 2015 2 commits
-
-
Adam Barth authored
This file was deleted.
-
Adam Barth authored
Now you can import 'package:sky/widgets.dart' to get all the widgets.
-