- 12 Mar, 2016 5 commits
-
-
Adam Barth authored
This patch renames StatelessComponent to StatelessWidget and StatefulComponent to StatefulWidget. Fixes #2308
-
Adam Barth authored
Fixes #1382
-
Hixie authored
And fix the zillion issues that uncovered.
-
Ian Hickson authored
This reverts commit f41b3411, reversing changes made to e33d8d96. This was a bad check-in due to my mangling uploading a new version of the branch from a different machine. This reverts https://github.com/flutter/flutter/pull/2639 and will be replaced by https://github.com/flutter/flutter/pull/2640
-
Hixie authored
And fix the zillion issues that uncovered.
-
- 11 Feb, 2016 1 commit
-
-
Ian Hickson authored
Each layer is supposed to reexport the parts of the previous layer that are part of its API. - In painting.dart, export from dart:ui all the Canvas-related APIs that make sense to be used at higher levels, e.g. PaintingStyle. - Delete painting/shadows.dart. It was dead code. - In rendering/object.dart, export all of painting.dart. - In widgets/basic.dart, export all of painting.dart and animation.dart. Some classes in animation/ are renamed to make this less disruptive and confusing to the namespace. - Split out Stocks back into an import model rather than a part model, so that it's easier to manage its dependencies on a per-file basis. - Move Ticker to scheduler library. - Remove as many redundant imports as possible now. - Some minor nit picking cleanup in various files.
-
- 05 Feb, 2016 1 commit
-
-
Adam Barth authored
Making progress documenting the widget library.
-
- 20 Jan, 2016 2 commits
-
-
Adam Barth authored
This patch removes Performance and AnimationValue now that we've ported the framework over to AnimationController and Tween. This patch also cleans up the names of the AnimationController classes now that they don't have to avoid conflicts with the old animation API. Specifically, I've made the following renames: * Animated -> Animation * Evaluatable -> Animatable * PerformanceStatus -> AnimationStatus This patch is just renames and moving code around. There aren't any changes in behavior.
-
Adam Barth authored
I've left transitions and enter_exit_transition out of this patch, but I've converted the rest.
-
- 18 Jan, 2016 1 commit
-
-
Ian Hickson authored
As part of this: - A lot of classes got new lerp functions, including e.g. TextStyle. - Theme's constructor story got overhauled. You can now configure everything if you really want to, and we're better about defaults. - Material no longer automatically animates its background color. (It still does for its shadow.) - Tabs try to get the indicator color from the theme. - The fields in ThemeData got reordered for sanity. - Theme.== and Theme.hashCode got fixed. - Typography got a bit of a spring cleaning. Fixes #613.
-
- 14 Jan, 2016 1 commit
-
-
Ian Hickson authored
Some more asserts and toString info. Reorder some code to group lerp-related functions.
-
- 10 Jan, 2016 3 commits
-
-
Ian Hickson authored
-
Ian Hickson authored
-
Ian Hickson authored
This will allow AnimatedPositioned to reuse all the same logic.
-
- 09 Jan, 2016 1 commit
-
-
Ian Hickson authored
Not sure what I was doing when I wrote this assertion, but I'm pretty sure it's wrong. I'm guessing the change here is what I actually meant to write.
-
- 07 Jan, 2016 1 commit
-
-
Adam Barth authored
If we're already at the target value, we fail to configure the variable. If another variable animates, we re-animate the other variable. Fixes #958
-
- 09 Dec, 2015 2 commits
-
-
Adam Barth authored
-
Adam Barth authored
-
- 08 Dec, 2015 1 commit
-
-
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).
-
- 05 Dec, 2015 1 commit
-
-
Hixie authored
Also, replace places that use the term "create performance" with "create performance controller".
-
- 02 Dec, 2015 1 commit
-
-
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.
-
- 20 Oct, 2015 1 commit
-
-
Adam Barth authored
-
- 19 Oct, 2015 1 commit
-
-
Hixie authored
It turns out that an AnimatedContainer with a BoxDecoration would start animating every single time it was built, whether or not the container's decoration had changed.
-
- 18 Oct, 2015 1 commit
-
-
Hixie authored
- truncate pixel values to 1dp since there's really no point being told the Size is 302.98732587287 by 648.28498579187. - describe more Widgets so that debugDumpApp() is more useful. - remove bufferValue from ProgressIndicator (cc @hansmuller) since it's not yet implemented. - half-hearted toString() for ThemeData. There's no point making a complete one, since it would cause line-wrap even on big monitors in debugDumpApp dumps, and you can easily get the actual values from a debugging if that's the issue. - flesh out BoxConstraints.toString() so that fully unconstrained and fully infinite constraints are called out explicitly. I experimented with adding even more special cases, e.g. calling out unconstrained widths with fixed heights, etc, but it made the output less readable. - remove a redundant _updateVariable() in AnimatedContainer (cc @abarth). - add more information to RenderView.toString().
-
- 10 Oct, 2015 1 commit
-
-
Adam Barth authored
-
- 09 Oct, 2015 1 commit
-
-
Adam Barth authored
These are now part of material.dart.
-
- 06 Oct, 2015 1 commit
-
-
Adam Barth authored
In the vast majority of cases, folks should be interacting with the Widget rather than its State. Fixes #267
-
- 05 Oct, 2015 2 commits
-
-
Adam Barth authored
This patch simplifies AnimationTiming and all the AnimatedValue base classes. Also, make PopupMenu a stateless component because it has no state. Fixes #1168
-
Adam Barth authored
Fixes #1170
-
- 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 1 commit
-
-
Adam Barth authored
-
- 16 Sep, 2015 1 commit
-
-
Hixie authored
Turns out it gets nothing out of inheriting from AnimatedComponent.
-
- 08 Sep, 2015 2 commits
-
-
Adam Barth authored
-
Adam Barth authored
Move the animation libraries into src/animation and change importers to use package:sky/animation.dart. Also, move scheduler.dart into the animation library so that the animation library can be self-contained.
-
- 03 Sep, 2015 1 commit
-
-
Adam Barth authored
These functions are now in sky:dart.
-
- 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.
-
- 31 Aug, 2015 1 commit
-
-
Adam Barth authored
-
- 28 Aug, 2015 1 commit
-
-
Hixie authored
Stop exporting framework.dart from basic.dart, since we now have widgets.dart exporting all of framework.dart.
-
- 22 Aug, 2015 1 commit
-
-
Adam Barth authored
-
- 04 Aug, 2015 1 commit
-
-
Matt Perry authored
This ensures we don't run into discontinuities when reversing an animation halfway through. I refactored AnimationValue to have knowledge of the reverse curves and intervals.
-