- 18 Nov, 2015 1 commit
-
-
Adam Barth authored
Fixes #447
-
- 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.
-
- 27 Oct, 2015 1 commit
-
-
Adam Barth authored
We still use special-purpose typedefs in the gesture code for symmetry with other gesture callbacks. Fixes #1827
-
- 21 Oct, 2015 1 commit
-
-
Hixie authored
These new PerformanceView classes are transforms over PerformanceViews. The first is a cheap way to tell code that expects a performance to not animate after all, and the other is a way to replace a view of a performance going in one direction with a view of a performance going in the other direction. See also https://github.com/flutter/engine/issues/1708
-
- 16 Oct, 2015 1 commit
-
-
Hixie authored
(These are all the debugging-related fixes and trivial typo fixes that I extracted out of my heroes branch.) Fix rendering.dart import order. Introduce a debugLabel for Performances so that when you create a performance, you can tag it so that if later you print it out, you can figure out which performance it is. Allow the progress of a PerformanceView to be determined (but not set). Allow subclasses of PerformanceView that are constants to be created by defining a constant constructor for PerformanceView. Introduce a debugPrint() method that throttles its output. This is a test to see if it resolves the problems people have been having with debugDumpRenderTree() et al having their output corrupted on Android. It turns out (according to some things I read On The Internets) that Android only has a 64KB kernel buffer for its logs and and if you output to it too fast, it'll drop data on the floor. If this does in fact reliably resolve this problem, we should probably move the fix over to C++ land (where "print" is implemented) so that any use of print is handled (avoiding the interleaving problem we have now if you use both debugPrint() and print()). Fix a bug with the debugging code for "size". In the specific case of a RenderBox having a parent that doesn't set parentUsesSize, then later the parent setting parentUsesSize but the child having its layout short-circuited (e.g. because the constraints didn't change), we didn't update the _DebugSize object to know that now it's ok that the size be used by the parent, and we'd assert. Also, allow a _DebugSize to be used to set the size of yourself. Previously you could only set your size from a regular Size or from your child's _DebugSize. Add more debugging information to various Widgets where it might be helpful. Make GlobalKey's toString() include the runtimeType so that when subclassing it the new class doesn't claim to be a GlobalKey instance. Include the Widget's key in the Element's description since we don't include it in the detailed description normally (it's in the name part). Fix a test that was returning null from a route.
-
- 09 Oct, 2015 1 commit
-
-
Hixie authored
Now that you import a top-level file for each layer of the Flutter framework, within the framework we can use relative paths without being worried about the copy/pasta problem we used to have.
-
- 07 Oct, 2015 1 commit
-
-
Adam Barth authored
This patch prepares us to create routes that control their performances more closely.
-
- 05 Oct, 2015 3 commits
-
-
Adam Barth authored
Fixes #1170
-
Adam Barth authored
This patch converts drawer to using the "openDialog" pattern for managing its state. Currently, the drawer entrance and exit animation aren't integrated with the navigator's animation system because the drawer's animations can be stopped and reversed, which the navigator can't yet understand. That means dismissing the drawer via the system back button causes the drawer to be removed instanteously. Fixes #715 Fixes #1187
-
Adam Barth authored
This patch folds the functionality from AnimatedSimulation into Timeline.
-
- 03 Oct, 2015 1 commit
-
-
Adam Barth authored
Rather than having two objects driving scrolling animations, we now have one object, a Timeline, drive both scrollTo and fling animations. Using Timeline instead of AnimatedSimulation paves the way to removing AnimatedSimulation (which is now used only inside the animation library). Finally, this patch also simplifies (and makes private) _TweenSimulation by using AnimatedValue to do the math.
-
- 30 Sep, 2015 1 commit
-
-
Hixie authored
AnimationPerformance had some logic for supporting multiple variables that was hardly ever used. ValueAnimation, a subclass, has logic for handling a single variable. I've removed the logic for handling variables from AnimationPerformance in favour of most call sites instead using ValueAnimation.
-
- 18 Sep, 2015 1 commit
-
-
Hixie authored
This fixes #1103.
-
- 16 Sep, 2015 1 commit
-
-
Hixie authored
- Reorder the methods so they are closer to run order. - Reindent the code to match style guide.
-
- 14 Sep, 2015 1 commit
-
-
Hixie authored
Surface all the constructor arguments of AnimationTiming in all its subclasses. Remove some pointless casts. Fix some typos. Put constructors first in class declarations. Remove some blank lines where they just confused the structure of the code.
-
- 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.
-
- 13 Aug, 2015 1 commit
-
-
Matt Perry authored
Used for AnimationPerformance with a single AnimatedValue<T> variable.
-
- 10 Aug, 2015 1 commit
-
-
Matt Perry authored
Just infer it from the sign of the velocity. That's what odeon does.
-
- 06 Aug, 2015 1 commit
-
-
Matt Perry authored
Also add intervals and curves to AnimationPerformance, which affect all variables used by the performance.
-
- 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.
-
- 03 Aug, 2015 1 commit
-
-
Matt Perry authored
Simplifies the code a bit.
-
- 31 Jul, 2015 1 commit
-
-
Matt Perry authored
Use those in SnackBar, Drawer, navigator instead of AnimatedContainer's intentions.
-
- 30 Jul, 2015 1 commit
-
-
Matt Perry authored
This required some changes to AnimationPerformance to better understand animating with forces.
-
- 28 Jul, 2015 3 commits
-
-
Matt Perry authored
SnackBar, and PopupMenu instead of custom statuses.
-
Chinmay Garde authored
-
Chinmay Garde authored
-
- 21 Jul, 2015 1 commit
-
-
Matt Perry authored
-
- 16 Jul, 2015 2 commits
-
-
Matt Perry authored
-
Collin Jackson authored
-