- 16 Sep, 2016 1 commit
-
-
Dragoș Tiselice authored
Fixes #3208.
-
- 15 Sep, 2016 5 commits
-
-
Dragoș Tiselice authored
Fixes #4618.
-
Dragoș Tiselice authored
Renamed expansion_panels.dart to expansion_panel.dart.
-
Adam Barth authored
The engine now reports coordinates in physical pixels.
-
Ian Hickson authored
Also, fix an old TODO, and add a test of various things on TextStyle. ...requires an engine roll to pick up https://github.com/flutter/engine/pull/3025 and https://github.com/flutter/engine/pull/3027.
-
Ian Hickson authored
Fixes https://github.com/flutter/flutter/issues/5840
-
- 14 Sep, 2016 4 commits
-
-
Hans Muller authored
-
Dragoș Tiselice authored
Changed MergableMaterial to animated between states that have dividers and those that don't in order not to have dividers that appear unanimatedly. Fixes #5847.
-
Hans Muller authored
* Added OverscrollIndicatorEdge et al * RefreshIndicator only clamps its scrollable edge * added a test * Updated the test * fixed lint-os * fixed a typo * Scrollable should restore its viewport dimensions when it reappears * removed an accidental commit * updated per review feedback
-
Ian Hickson authored
-
- 12 Sep, 2016 1 commit
-
-
Ian Hickson authored
This allows us to simplify the logic around inherited widgets e.g. in the Image widget.
-
- 09 Sep, 2016 3 commits
-
-
Ian Hickson authored
I forgot that it was possible for the root view to get marked dirty without getting a new widget. This fixes that case to work.
-
Ian Hickson authored
I did a pass through some of the code cleaning minor things up.
-
Hans Muller authored
-
- 08 Sep, 2016 2 commits
-
-
Ian Hickson authored
Previously, pumpWidget() would do a partial pump (it didn't trigger Ticker callbacks or post-frame callbacks), and pump() would do a full pump. This patch brings them closer together. It also makes runApp run a full actual frame, rather than skipping the transient callback part of the frame logic. Having "half-frames" in the system was confusing and could lead to bugs where code expecting to run before the next layout pass didn't because a "half-frame" ran first. Also, make Tickers start ticking in the frame that they were started in, if they were started during a frame. This means we no longer spin a frame for t=0, we jump straight to the first actual frame. Other changes in this patch: * rename WidgetsBinding._runApp to WidgetsBinding.attachRootWidget, so that tests can use it to more accurately mock out runApp. * allow loadStructuredData to return synchronously. * make handleBeginFrame handle not being given a time stamp. * make DataPipeImageProvider.loadAsync protected (rather than private), and document it. There wasn't really a reason for it to be private. * fix ImageConfiguration.toString. * introduce debugPrintBuildScope and debugPrintScheduleBuildForStacks, which can help debug problems with widgets getting marked as dirty but not cleaned. * make debugPrintRebuildDirtyWidgets say "Building" the first time and "Rebuilding" the second, to make it clearer when a widget is first created. This makes debugging widget lifecycle issues much easier. * make debugDumpApp more resilient. * debugPrintStack now takes a label that is printed before the stack. * improve the banner shown for debugPrintBeginFrameBanner. * various and sundry documentation fixes
-
Ian Hickson authored
This issue got fixed by a recent check-in, but I had a test specifically for this incarnation so we should probably keep it just in case. Closes https://github.com/flutter/flutter/issues/5630
-
- 07 Sep, 2016 3 commits
-
-
Ian Hickson authored
Previously, if a StatefulWidget was marked dirty, then removed from the build, then reinserted using the exact same widget under a widget under a LayoutBuilder, it wouldn't rebuild. This fixes that. It also introduces an assert that's supposed to catch SizeObserver-like behaviour. Rather than make this patch even bigger, I papered over two pre-existing bugs which this assert uncovered (and fixed the other problems it found): https://github.com/flutter/flutter/issues/5751 https://github.com/flutter/flutter/issues/5749 We should fix those before 1.0 though.
-
Dragoș Tiselice authored
In the interest of using the name in the case of Material steppers, this commit renames Step curve to Threshold.
-
Matt Perry authored
This eliminates all the issues around the horizontal page transition. I also improved the back gesture animation, and added fling support. BUG=https://github.com/flutter/flutter/issues/5678 BUG=https://github.com/flutter/flutter/issues/5622
-
- 02 Sep, 2016 1 commit
-
-
Dragoș Tiselice authored
Fixed a bug where the size of the AnimatedCrossFade would always start from the size of the first child, irrespective of the initial crossFadeState argument.
-
- 01 Sep, 2016 2 commits
-
-
Ian Hickson authored
-
Matt Perry authored
The iOS transition is the more buggy part of this feature, and it wasn't disabled. Let's just leave them enabled while I work on improvements.
-
- 30 Aug, 2016 3 commits
-
-
Dragoș Tiselice authored
Added a widget that cross fades two children while animating the size of the parent based on the children's interpolated sizes.
-
Matt Perry authored
Also added a regression test for the back gesture on iOS and android.
-
Hans Muller authored
-
- 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.
-