- 29 Aug, 2016 3 commits
-
-
Hans Muller authored
-
Ian Hickson authored
Fixes https://github.com/flutter/flutter/issues/5283 Other changes in this patch: Rename OffStage to Offstage. Fixes https://github.com/flutter/flutter/issues/5378 Add a lot of docs. Some minor punctuation and whitespace fixes.
-
Ian Hickson authored
1: If a route is already dismissed when it's popped, there's no point trying to animate heroes, because it's going to be gone before the heroes code can look at it. 2: If a hero animation finishes just as a new one is starting, we previously blew away the state for the starting one. Now we correctly segregate the "starting up quest" variables from the "actively ongoing quest" variables.
-
- 26 Aug, 2016 3 commits
-
-
Hans Muller authored
-
Dragoș Tiselice authored
Added ExpansionPanel and ExpansionPanelList. The implementation is based on the Material design spec, without enforcing every facet of it, leaving the developer using this the liberty to enforced it lower down the widget tree. This decision was made based on the argument that implementing more of the spec would reduce flexibility to a point where some design would not be implementable with this widget anymore.
-
Ian Hickson authored
Fixes https://github.com/flutter/flutter/issues/5588
-
- 23 Aug, 2016 1 commit
-
-
Hans Muller authored
-
- 22 Aug, 2016 1 commit
-
-
Dragoș Tiselice authored
Changed the ExpandIcon constructor to take a default expansion state. If the widget gets rebuilt with a different expansion value, the animation will trigger but the callback will not.
-
- 20 Aug, 2016 1 commit
-
-
Hans Muller authored
-
- 19 Aug, 2016 1 commit
-
-
Bob Nystrom authored
The type of rejects should be List<dynamic> to match the type that DragTarget expects. Since the function doesn't use rejects anyway, there's no need to tighten the type. Fixes one of the strong_mode_static_type_error errors that is currently being ignored.
-
- 18 Aug, 2016 4 commits
-
-
Dragoș Tiselice authored
Added a widget that implicitly animates the size of it child.
-
Dragoș Tiselice authored
Added a widget that automaitcally rotates the expansion icon and offers a callback interface that captures presses.
-
Dragoș Tiselice authored
Using IconButton inside of a bigger Material before would result in having a hit box as large as the whole Material. This commit constrains the size of the hit box and splashes to the default diameter of a splash.
-
Adam Barth authored
These tests should hit some previously untested lines.
-
- 17 Aug, 2016 1 commit
-
-
Dragoș Tiselice authored
This commit changes MergeableMaterial to include a flag that specifies whether connected Material slices should have dividers between them.
-
- 16 Aug, 2016 2 commits
-
-
Ian Hickson authored
Turns out that previously we weren't updating the clip if the layout didn't change, even if the delegate was different.
-
Hans Muller authored
-
- 15 Aug, 2016 2 commits
-
-
Ian Hickson authored
Instead of a PNG, the Flutter gallery widget is now drawn in code. There's now a FlutterLogoDecoration class that paints the flutter logo anywhere you can use a Decoration (e.g. AnimatedContainer). There's now a FlutterLogo class that honors the IconTheme. The About dialog box API now takes a Widget for the applicationIcon, instead of an ImageProvider. It uses IconTheme to make the icon the right size instead of using an Image widget. Add padding, duration, and curve properties to the DrawerHeader. Make the child of a DrawerHeader optional. Clean up UserAccuntsDrawerHeader a bit. Add some useful properties and methods to EdgeInsets. Add some debug logic to RenderDecoratedBox to catch unpaired save/restore calls when possible. Make GestureDetector fill its parent if it has no children. Fixes https://github.com/flutter/flutter/issues/5380
-
Ian Hickson authored
Fixes https://github.com/flutter/flutter/issues/5380
-
- 11 Aug, 2016 6 commits
-
-
Jason Simmons authored
Fixes https://github.com/flutter/flutter/issues/5131
-
Dragoș Tiselice authored
MergeableMaterial is an animated container that knows how to merge separate slices of Material together.
-
Dragoș Tiselice authored
Added a simple widget that automatically dispatches a LayoutChangedNotification when its child changes layout.
-
Dragoș Tiselice authored
Added a flag that instructs Stack how to deal with overflowing children: they can either be clipped or not.
-
Ian Hickson authored
-
Ian Hickson authored
Changes in this patch: - iOS now uses a different scrollDrag constant than Android. - ScrollConfigurationDelegate now knows about target platforms. - ScrollBehaviors now know about target platforms. - RawInputLine now has to be told what platform it's targetting. - PageableList now has a concept of target platform. - make debugPrintStack filter its stack. - move debugPrintStack to `assertions.dart`. - add support for limiting the number of frames to debugPrintStack. - make defaultTargetPlatform default to android in test environments. - remove OverscrollStyle and MaterialApp's overscrollStyle argument. You can now control the overscroll style using Theme.platform. - the default scroll configuration is now private to avoid people relying on the defaultTargetPlatform getter in their subclasses (since they really should use Theme.of(context).platform). - fix some typos I noticed in some tests. - added a test for flinging scrollables, that checks that the behavior differs on the two target platforms. - made flingFrom and fling in the test API pump the frames. - added more docs to the test API. - made the TestAsyncUtils.guard() method report uncaught errors to help debug errors when using that API.
-
- 08 Aug, 2016 1 commit
-
-
Dragoș Tiselice authored
* Added return value to a onNotification callback. The LayoutChangedNotification callback was missing a return value. This commit changes it to return true and stop notification from bubbling up the tree. * Changed _RenderInkFeatures to use fresh clip box. Since it wasn't using the most current value of the RenderBox's size, _RenderInkFeatures was rendering splashes incorrectly when the underlying Material size was animating. This commit changes the clip reference to use the size of the Renderbox instead of the size method in order to get the newest value.
-
- 05 Aug, 2016 3 commits
-
-
Ian Hickson authored
-
Ian Hickson authored
-
Adam Barth authored
After this patch, they ignore pointers.
-
- 04 Aug, 2016 4 commits
-
-
Matt Perry authored
BUG=https://github.com/flutter/flutter/issues/3938
-
Matt Perry authored
Why this matters: If you navigate back to a page with a Scrollable that has a nonzero scrollOffset, we will restore that scrollOffset. We clamp the scrollOffset to the contentExtent before the first layout, before contentExtent is updated to its proper value. Initializing contentExtent to INFINITY effectively disables the first clamp, until we can get a valid value from layout. Since the previous scrollOffset was valid, it seems safe to assume it's still valid. BUG=https://github.com/flutter/flutter/issues/4883 BUG=https://github.com/flutter/flutter/issues/4797
-
Jason Simmons authored
This also required changing the AnimationController state transition logic to signal completion of the animation during the tick that finishes the simulation. Fixes https://github.com/flutter/flutter/issues/3675
-
Jason Simmons authored
Fixes https://github.com/flutter/flutter/issues/5178
-
- 02 Aug, 2016 2 commits
-
-
Jason Simmons authored
Image listeners installed in paint handlers need to know whether the listener is being called during the paint. Fixes https://github.com/flutter/flutter/issues/4937
-
Hans Muller authored
-
- 01 Aug, 2016 1 commit
-
-
Hans Muller authored
-
- 29 Jul, 2016 4 commits
-
-
Ian Hickson authored
Also, add FractionalOffset.inscribe.
-
Dragoș Tiselice authored
* Added custom radii to RRect. This is the first commit towads an implementation of MergeableMaterial. It adds custom radii to RRect. * Renamed RRect constructors and added BorderRadius. BorderRadius is a class similar to EdgeInsets that lets you define all rounded corners of a rounded rectangle easily.
-
Ian Hickson authored
And make Scrollbar work with LazyBlock. And an about box to the Stocks sample app.
-
Hans Muller authored
-