- 09 May, 2019 6 commits
-
-
Jonah Williams authored
-
stuartmorgan authored
Bash assignment doesn't have spaces around '='. Fixes #32341
-
Phil Quitslund authored
* make immutables const
-
Michael Goderbauer authored
-
Michael Goderbauer authored
-
Greg Spencer authored
This changes Listener to trigger enter/move/exit in all Listeners below the pointer, not just the leaf region (the first region hit). This is because we need to allow listeners to be nested so that, say, a widget that handles changing color on hover, but also is wrapped in a Tooltip (that handles hover) can trigger both actions, not just one. To that end, I added a findAll to Layer, similar to the existing find method that was previously used. It returns an iterator over annotated layers which match the given data type. Since the findAll is implemented as returning an Iterable (and is sync*), I re-implemented the find routines as just returning the first result from findAll, since that should be just as efficient, and would then prevent duplication in the implementation.
-
- 08 May, 2019 2 commits
-
-
Greg Spencer authored
I recently added some code to keep hover events from being propagated when a mouse wasn't attached. While that works, there are times when it can fire callbacks during the building of other components, since they can now be called from detach/attach. This is not ideal, since it will assert then. This changes the code so that it won't update the annotations during attach/detach, but also won't push the annotation layer unless a mouse is connected, achieving the same result as before, but with better semantics. The basic problem is that in the detach for RenderPointerListener, it would detach the annotation, which could cause onExit to be called on the annotation, since the widget was disappearing under the mouse, and thus needs to receive an onExit, but that onExit might be (and probably will be) calling setState, which marks the owning widget as needing to be built, sometimes when it already has been. The fix creates a new _ListenerElement that overrides activate and deactivate in order to tell the render object ahead of the detach that it might be detached, and so the onExit gets called before the detach instead of during it. In addition, I now avoid scheduling more than one check for mouse positions per frame.
-
Matthew Lloyd authored
-
- 07 May, 2019 4 commits
-
-
chunhtai authored
-
xster authored
-
Jonah Williams authored
-
Shi-Hao Hong authored
* Added documentation to SwitchListTile
-
- 06 May, 2019 15 commits
-
-
Ian Hickson authored
Instead of using a custom WidgetController, which is very brittle, we just use the usual infrastructure. Also, use structured data instead of an array. This adds offsetMoreOrLessEquals to handle small floating point errors in offsets.
-
Ian Hickson authored
This reverts commit 28b58db1.
-
Michael Klimushyn authored
-
yaheng authored
-
Emmanuel Garcia authored
-
Tiziano Munegato authored
-
Darren Austin authored
- Increased the AM/PM, minute and hour buttons to at least 48x48 - Added InkWells to all of them - Adjusted the landscape layout for the AM/PM buttons to be horizontal - Added a test to ensure the regions are at least 48x48
-
Darren Austin authored
Fixed several layout issues with the material date picker. Mostly just removed hard coded sizes to allow the grid view to scroll instead of overflowing.
-
Zachary Anderson authored
-
Jonah Williams authored
-
Jonah Williams authored
-
Antti Ahti authored
Code indentation was done with tabs in some places. Replaced with spaces.
-
Michael Goderbauer authored
-
Michael Goderbauer authored
This reverts commit d2de911d.
-
Simon Binder authored
-
- 04 May, 2019 3 commits
-
-
LongCatIsLooong authored
Replace CupertinoSliverRefreshControl.onRefresh's then callback with whenCompleted callback, so when onRefresh completes with error the sliver refresh control retracts like when it completes with value.
-
Shi-Hao Hong authored
* Add Flag to determine if pixels is set by viewport during disposal * Add TODO to remove nested TabBarView workaround once unnecessary build/dispose issues are resolved
-
done authored
-
- 03 May, 2019 10 commits
-
-
Jonah Williams authored
-
Hans Muller authored
-
Greg Spencer authored
This is a re-land of #31561, after fixing performance regressions. Added change listening to the MouseTracker so that the Listener and tooltip can react to whether or not a mouse is connected at all. Added a change check to make sure Listener only repaints when something changed. Fixes #22817
-
Gary Qian authored
-
Justin McCandless authored
Add `textWidthBasis` param to Text to allow calculating width according to longest line.
-
Furkan Tektas authored
-
chunhtai authored
-
Efthymis Sarmpanis authored
-
Efthymis Sarmpanis authored
-