- 10 May, 2019 8 commits
-
-
Kate Lovett authored
Revert "Merge branch 'master' into master" This reverts commit e3a03c04, reversing changes made to 64749826.
-
Dan Field authored
-
Jonah Williams authored
-
liyuqian authored
## Description These will help identify where the matrix starts to get wrong. Also fixed `RenderFittexBox` to no longer paint with empty child which previously triggered invalid matrix computations (NaN with dividing by 0). See also https://github.com/flutter/flutter/pull/7489 ## Related Issues https://github.com/flutter/flutter/issues/31650 https://github.com/flutter/flutter/issues/31700 https://github.com/flutter/flutter/issues/7431 ## Tests * RenderFittedBox does not paint with empty sizes
-
Riccardo Ratta authored
Make font semibold when isDefaultAction is true in CupertinoDialogAction
-
Efthymis Sarmpanis authored
-
Hans Muller authored
-
Greg Spencer authored
This implements a DefaultFocusTraversal widget to describe the focus traversal policy for its children, defined by a FocusTraversalPolicy object from which custom policies may be created. Pre-defined policies include widget-order traversal, "reading order" traversal and directional traversal.
-
- 09 May, 2019 6 commits
-
-
Greg Spencer authored
This fixes a benchmark regression introduced in #32350. The performance is improved by just reverting the Layer.find<S> routines to use their old definitions, instead of defining them in terms of the findAll<S> lazy iterators. Fixes #32387
-
Phil Quitslund authored
* update immutable to const * => const lists * revert making list const * make Centers const
-
Jonah Williams authored
-
Phil Quitslund authored
* make immutables const
-
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 1 commit
-
-
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.
-
- 07 May, 2019 2 commits
-
-
chunhtai authored
-
Shi-Hao Hong authored
* Added documentation to SwitchListTile
-
- 06 May, 2019 10 commits
-
-
Ian Hickson authored
This reverts commit 28b58db1.
-
Michael Klimushyn authored
-
yaheng 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.
-
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 2 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
-
- 03 May, 2019 8 commits
-
-
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.
-
chunhtai authored
-
Efthymis Sarmpanis authored
-
Efthymis Sarmpanis authored
-
- 02 May, 2019 3 commits
-
-
MH Johnson authored
* add text style params * add icon theme params * Added tests
-
Kate Lovett authored
-
chunhtai authored
-