- 18 Dec, 2015 1 commit
-
-
Eric Seidel authored
This is a png version of the flutter logo generated on my desktop from the SVG in the flutter.io repository. TBR @hansmuller
-
- 17 Dec, 2015 2 commits
-
-
Eric Seidel authored
@abarth @hixie
-
Eric Seidel authored
Not great. Better than nothing. @hixie
-
- 16 Dec, 2015 3 commits
-
-
Hans Muller authored
The TabBarSelection change animation needs to start where the fling's drag gesture ended rather than from zero. The intial vlaue of progress for the TabBarSelection's performance is now converted from the range used during an interactive drag, to the range used when animating from the previously selected tab to the new one. TabBarSelection now requires a maxIndex parameter.
-
Ian Hickson authored
-
Hans Muller authored
-
- 14 Dec, 2015 2 commits
-
-
Eric Seidel authored
This matches the naming pattern expected from package:test `flutter test` doesn't care, since it finds all _test.dart files and runs them regardless of directory. @Hixie
-
Ian Hickson authored
-
- 10 Dec, 2015 4 commits
-
-
Hans Muller authored
-
Jim Beveridge authored
-
Ian Hickson authored
-
Ian Hickson authored
-
- 09 Dec, 2015 6 commits
-
-
Adam Barth authored
Now with fewer lists.
-
Hans Muller authored
-
Adam Barth authored
- Remove unused FocusChanged typedef. - Remove unused centerOfAttentionHeroTag. - Modernize static functions for interacting with Scrollable by moving them into the Scrollable class.
-
Hans Muller authored
-
Ian Hickson authored
Add BoxConstraints.isNormalized feature. Use this feature in asserts in all the intrinsic dimension methods, in various relevant BoxConstraints methods, and in layout(). Wrap the _DebugSize logic in BoxConstraints.constrain() in an assert block to avoid a branch in release mode. Remove the logic in BoxConstraints.isSatisfiedBy() that dealt with non-normalized values. Add BoxConstraints.normalize(). Make RenderCustomOneChildLayoutBox.performLayout() only set parentUsesSize on the child if the constraints aren't tight.
-
Eric Seidel authored
I had to add a setLocale method to WidgetTester and split the code in FlutterBinding which handled locale changes to allow me to dispatch a locale change w/o actually changing what the c++ code reports as the locale. Also added the test to Travis. @abarth @jason-simmons
-
- 08 Dec, 2015 4 commits
-
-
Seth Ladd authored
-
Collin Jackson authored
-
Ian Hickson authored
Factor out a reusable interface called Decoration from BoxDecoration. Make all the consumers of BoxDecoration and the erstwhile BoxPainter into consumers of Decoration. Make a BoxPainter be something you get from a Decoration, rather than something to which you pass a BoxDecoration. Rename Shape to BoxShape now that it's documented specifically as applying to boxes. Move EdgeDims to its own file. Move FractionalOffset up so that it's with the other helper classes in its file rather than alone at the end. Minor change to RenderClipOval's hit testing to avoid taking an unnecessary square root. Rename BoxDecorationPosition to DecorationPosition since RenderDecoratedBox now takes any Decoration. Implement hit testing for rounded rects. Rename AnimatedBoxDecorationValue to AnimatedDecorationValue, and make it support lerping across any Decoration (by deferring to the objects involved).
-
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.
-
- 05 Dec, 2015 2 commits
-
-
Ian Hickson authored
Instead of PointerInputEvent having a "type" field, we now have a different class for each pointer type. This has ripple effects throughout the system. I also did code cleanup in affected files while I was there.
-
Adam Barth authored
We can just use Canvas now. The two are the same thing.
-
- 04 Dec, 2015 5 commits
-
-
Collin Jackson authored
-
Hixie authored
Have the widget support min/max arguments to make the widget easier to use. Also, fix the dragging so it's actually where the knob is.
-
Jason Simmons authored
-
Ian Hickson authored
One might argue, the most basic utility classes.
-
Adam Barth authored
Also, fill in a back arrow when we can go back. Fixes #699
-
- 03 Dec, 2015 4 commits
-
-
Hixie authored
-
Hixie authored
Also: - minor code reindents in places. - reset the widget tree between tests. - once you generate a route, don't let its builder change (previously it would keep changing as the routes table changed). - revert the stocks app toolbar-fading-on-forward-transition thing.
-
Adam Barth authored
This patch restructures how we handle drawer. The drawer is now a child of the Scaffold, which wraps the Drawer in a DrawerController. The DrawerController manages the interaction with the navigator as well as the edge swiping. The DrawerController's state machine is driven almost entirely off its Performance, which it now owns completely. Fixes #90 Fixes #187 Fixes #192 Fixes #194 Fixes #604
-
Hixie authored
For those times when you want to do something as you move away from a route into the next one, as well as when you move into it from the previous one.
-
- 02 Dec, 2015 3 commits
-
-
Adam Barth authored
This patch integrates Mimicable with Overlay such that you can tell a Mimicable to lift up into the overlay and animate towards another widget identified by a global key.
-
Ian Hickson authored
Heroes with the same tag have to have keys that are unique across the entire subtree. Since we can now show both stock lists, this means we have to include the tab in the heroes' keys. Fixes #668.
-
Florian Loitsch authored
-
- 30 Nov, 2015 2 commits
-
-
Hixie authored
To make it easier to avoid pushing twice in one frame, provide a transaction mechanism for the navigator.
-
Hans Muller authored
The TabBar's selection is now represented by a TabBarSelection object which encapsulates both the previous and currently selected indices and the Performance used to animate the selection indicator. Added a TabBarView class which displays a tab's contents. It uses a shared TabBarSelection to stay in sync with a TabBar. The TabBarView scrolls in sync with the TabBar when the selection changes. Eventually it will allow one to fling the selection forward or backwards. Added a tabBar property to ToolBar. Typically the corresponding TabBarView will be the body of the toolbar's Scaffold. Removed TabNavigatorView and TabNavigator. Added a widget gallery tabs demo page. Removed the old tabs demo.
-
- 26 Nov, 2015 2 commits
-
-
Adam Barth authored
Also, refactor more common code into RenderToggleable and handle dark themes more correctly. Fixes #601
-
Adam Barth authored
-