- 27 Apr, 2016 1 commit
-
-
Adam Barth authored
Rather that importing `package:newton/newton.dart` you can `import package:flutter/physics.dart`. Fixes #2441
-
- 20 Apr, 2016 1 commit
-
-
Ian Hickson authored
Also a bit of code cleanup. The key part of this patch is the addition in `_endScroll` to reset `_simulation`. It seems like this was the one place where it's possible for us to end the animation but not reset our state. Since we assert that are state is coherent, we were hitting asserts when a fling finished and then you interacted with the widget again.
-
- 14 Apr, 2016 1 commit
-
-
pq authored
With the new dev build we've got the updated linter and so can use the `@optionalTypeArgs` annotation (in `meta 0.12.0`). Bonus: this lets us clean up one more Regexp in the `analyze` command! :)
-
- 12 Apr, 2016 2 commits
-
-
Adam Barth authored
-
Adam Barth authored
Also fill in some related dartdocs.
-
- 09 Apr, 2016 1 commit
-
-
Hans Muller authored
* Remove ScrollableListPainter
-
- 07 Apr, 2016 1 commit
-
-
Hans Muller authored
* Added Scrollbar, removed ScrollbarPainter * removed a dead import * updated per review feedback * Only call dispatch if the widgets State is still mounted
-
- 06 Apr, 2016 4 commits
-
-
Hans Muller authored
Overscroll indicator for MaterialList
-
Adam Barth authored
Also, port the MixedViewport tests to LazyBlockViewport. Fix bugs found by the tests.
-
Ian Hickson authored
Fix some legit uses of GlobalKey to specify the type they want. Fix some sketchy uses of GlobalKey in tests to fake it with "as dynamic". Remove some extraneous imports that made the build red.
-
Adam Barth authored
This patch adds dartdoc to LazyBlock. Also, this patch fixes the scrolling physics of LazyBlock. Previously, we updated a running simulation only when the change in scroll behavior changed the current scroll offset. Now we update running simulations every time the behavior changes because the simulation might depend on quantities other than the current scroll offset.
-
- 05 Apr, 2016 1 commit
-
-
Adam Barth authored
LazyBlock is intended as a replacement for MixedViewport. Rather than maintaining a table of all the observed child sizes (like MixedViewport), LazyBlock works by dead reckoning the location of the children based on the existing viewport. This approach makes it easier to resize children because LazyBlock doesn't cache any additional information that would need to be invalidated. This patch contains a first draft of LazyBlock that works in a simple usage scenario. Subsequent patches will replace ScrollableMixedWidgetList with LazyBlock and port the existing ScrollableMixedWidgetList tests over to LazyBlock. Related to #3075
-
- 04 Apr, 2016 1 commit
-
-
Ian Hickson authored
-
- 31 Mar, 2016 1 commit
-
-
Adam Barth authored
-
- 23 Mar, 2016 1 commit
-
-
Adam Barth authored
Previously, when the content extent changed during a scroll interaction, we'd stop the current scroll interaction and reset the scroll offset. Now we try to continue the scroll interaction (e.g., drag, fling, or overscroll) even through the underlying scroll behavior has changed. For physics-based scroll interactions, we keep the current position and velocity and recompute the operative forces. For drag interactions, we keep the current position and continue to let the user drag the scroll offset. After this patch, we still disrupt non-physical scroll animations that are operating outside the new scroll bounds because it's not clear how we can sensibly modify them to work with the new scroll bounds.
-
- 22 Mar, 2016 1 commit
-
-
Hans Muller authored
-
- 21 Mar, 2016 1 commit
-
-
Adam Barth authored
We were setting a negative velocity tolerance, which never triggered because we assume tolerances are positive numbers. Now we use a positive tolerance and assert to catch this case in the future. Fixes #2765
-
- 18 Mar, 2016 1 commit
-
-
Adam Barth authored
This patch adds a consistent, simple description for the common pattern of having a single child widget.
-
- 15 Mar, 2016 1 commit
-
-
Adam Barth authored
The problem was we were using a tap gesture to stop the motion of the drawer and a drag gesture to settle it. That can cause a broken lifecycle. Now we use a single drag recognizer to drive the whole lifecycle. Fixes #775 Fixes #1276
-
- 14 Mar, 2016 2 commits
-
-
Hixie authored
-
Ian Hickson authored
-
- 12 Mar, 2016 9 commits
-
-
Adam Barth authored
This patch renames StatelessComponent to StatelessWidget and StatefulComponent to StatefulWidget. Fixes #2308
-
Adam Barth authored
Fixes #2233
-
Adam Barth authored
Fixes #1382
-
Adam Barth authored
Fixes #774
-
Adam Barth authored
-
Adam Barth authored
Fixes #581
-
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.
-
- 06 Mar, 2016 1 commit
-
-
Adam Barth authored
Previously we got confused and started sending start/end pairs for each tick of the fling animation. Fixes #2430
-
- 03 Mar, 2016 1 commit
-
-
Hixie authored
-
- 27 Feb, 2016 1 commit
-
-
Hixie authored
-
- 26 Feb, 2016 2 commits
-
-
Adam Barth authored
Now onScroll callbacks are always bracketed by onScrollStart and onScrollEnd callbacks. Fixes #1822
-
Hixie authored
-
- 25 Feb, 2016 1 commit
-
-
Hixie authored
Also: - add operator==/hashCode/toString to ViewportDimensions - add toString to BindingBase - add toString and debugFillDescription to ScrollBehavior - fix a bug in the RawGestureDetectorState's replaceGestureRecognizers - rename MixedViewport's onExtentsUpdate to onExtentChanged - replace ExtentsUpdateCallback with ValueChanged<double> - remove a microtask for dispatching scroll start, since it did not appear to have any purpose - added dartdocs to Instrumentation until I understood it - made all event dispatch in Instrumentation drain microtasks
-
- 14 Feb, 2016 1 commit
-
-
Adam Barth authored
We were using an Offset, which represented pixels/second, but it wasn't clear to clients whether that was pixels/ms. Now we use a Velocity class that is explict about the units. Fixes #1510 Fixes #785
-
- 12 Feb, 2016 1 commit
-
-
Hixie authored
Remove the SizeObserver you need to use snap alignment in lists by having the lists provide the size themselves in the callback. Also, remove snapAlignmentOffset since we couldn't figure out how to explain it and it's not really needed.
-
- 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.
-
- 09 Feb, 2016 1 commit
-
-
Adam Barth authored
This patch teaches block how to anchor its scrolling to the end rather than the start. Fixes #136
-