4504 Commits

Author SHA1 Message Date
LongCatIsLooong
ac4d5099d8
Reland #74722 (#75604) 2021-02-24 11:01:03 -08:00
chunhtai
d75cfa584c
Hide selection handles from semantics (#76641)
* Hide selection handles from semantics

* update comment
2021-02-23 15:56:39 -08:00
Justin McCandless
1794e81f61
Keep the selection after 'Copy' pressed on iOS. (#76327) 2021-02-23 15:56:04 -08:00
Jonathan Cole
08e38cf25e
Fix BottomNavigationBar MediaQuery padding (#75360) 2021-02-23 13:21:03 -08:00
chunhtai
b5139515c1
Revert "fixes TextInputFormatter gets wrong old value of a selection (#75541)" (#76627)
This reverts commit a46139a2cef8144444a3e13a3970e9a267304b91.
2021-02-23 11:25:01 -08:00
allysonjp715
9ce3f76c53
Add a EdgeInsetsDirectional.all constructor similar to EdgeInsets.all (#76542) 2021-02-23 08:41:03 -08:00
Nathan Walker
01b7ada7c1
SliverAppBar Default Elevation Patch (#73526) 2021-02-22 16:56:03 -08:00
nt4f04uNd
9b6d267ea3
adding freeze parameter to Texture and TextureBox (#75738) 2021-02-22 10:21:03 -08:00
Darren Austin
539510b4a1
Added the ability to bring up the date picker dialogs in calendar or text input only modes that don't allow the user to switch. (#76343) 2021-02-19 11:30:59 -08:00
chunhtai
a46139a2ce
fixes TextInputFormatter gets wrong old value of a selection (#75541) 2021-02-19 11:16:02 -08:00
Chinmoy
c785efadda
Fixed improper assertion of maxCrossAxisExtent (#75095) 2021-02-18 14:26:11 -06:00
Kate Lovett
1bf6683399
Scrollbar updates for native Android behavior (#76173) 2021-02-18 11:11:04 -08:00
fzyzcjy
1b819a047b
Correct the unit of file size from "kb" (maybe "kilo bits") to "KB" (#76033) 2021-02-18 08:46:03 -08:00
Hans Muller
4d78435a18
Removed ButtonBar from the Scaffold and About widgets (#76246) 2021-02-18 08:32:04 -08:00
Ian Hickson
00630d0980
Remove some `dynamic's. (#76239) 2021-02-17 16:46:03 -08:00
LongCatIsLooong
c66e6947ae
minor ui.TextStyle toString test improvement (#76181) 2021-02-17 15:16:06 -08:00
Chinmoy
bb43d2c632
Added checkboxHorizontalMargin to DataTable and PaginatedDataTable (#71217) 2021-02-17 15:11:52 -08:00
Ren You
3c77c432f6
Revert "Remove some `dynamic's. (#75820)" (#76232)
This reverts commit 2d9a01a848bee74b5e68007bda68e356879ef077.
2021-02-17 14:02:26 -08:00
xubaolin
a3dd5aeaad
ScrollController.jumpTo zero should not trigger the refresh indicator (#75764) 2021-02-17 11:11:02 -08:00
Hans Muller
fe0ceeb80d
Reland: Removed ButtonBar from AlertDialog #75676 (#76167) 2021-02-17 11:02:02 -08:00
David Reveman
7a6af0cf2c
Reland: Timer based pointer event resampling (#76195)
This reverts #76179 and relands #73042 with an active timer check fix.

Co-authored-by: David Reveman <reveman@google.com>
2021-02-17 13:09:19 -05:00
Jenn Magder
50897c98fc
Revert "Timer based pointer event resampling (#73042)" (#76179)
This reverts commit 9133deb9a714b0853faeed4892b220ae7a77e5a5.
2021-02-16 20:13:53 -08:00
David Reveman
9133deb9a7
Timer based pointer event resampling (#73042)
Timer based pointer event resampling

This provides two improvements to pointer event resampling:

1. PostFrameCallbacks are used instead of scheduling frames. This
avoids unnecessary rendering work when resampling is used.

2. Resampling continues when frames are not produced. I.e. input
events keep being delivered at a fixed frequency even if frame
production is taking a long time.

This fixes #72924

Co-authored-by: David Reveman <reveman@google.com>
Co-authored-by: Tong Mu <dkwingsmt@users.noreply.github.com>
2021-02-16 21:29:59 -05:00
Sam Rawlins
c4400008b2
Remove "unnecessary" imports in test/services (#75707) 2021-02-16 16:46:03 -08:00
Sam Rawlins
894fdea860
Remove "unnecessary" imports in test/widgets (#75952) 2021-02-16 16:21:04 -08:00
Sam Rawlins
3aee0c73a2
Remove "unnecessary" imports. (#75950) 2021-02-16 14:01:02 -08:00
Sam Rawlins
d69845b17f
Remove "unnecessary" imports in test/widgets (#75949) 2021-02-16 13:56:04 -08:00
Ian Hickson
2d9a01a848
Remove some `dynamic's. (#75820) 2021-02-16 13:51:06 -08:00
Jonah Williams
820fb0bf2b
[flutter_tools] stop using throttled print for service extensions (#76022) 2021-02-16 12:11:57 -08:00
Greg Spencer
f8cd24de95
Revert "ListTile Material Ripple and Shape Patch (#74373)" (#76134)
This reverts commit 422916d201b21bf9c7e65225d520029e30ab278d because it causes unexpected changes in the rendering of the background of a ListTile.
2021-02-16 11:24:17 -08:00
Michael Goderbauer
6afbb25a48
Reject unaccepted pointers in Drag recognizer (#75943) 2021-02-16 10:26:03 -08:00
Yash Johri
21b270886e
[Checkbox] Adds shape property (#70171) 2021-02-13 12:06:03 -08:00
Todd Volkert
835c7fab45
Fix FocusManager constructor (#75894)
The FocusManager constructor was registering global event handlers
on the shared RawKeyboard instance and the global pointer router.
This posed a few problems: (1) there was no way to unregister these
handlers, and (2) instantiating a second FocusManager would overwrite
the existing focus manager's RawKeyboard handler. This was manifesting
in unexpected ways, such as the fact that constructing a second
BuildOwner (for a parallel tree, for instance) was obliterating the
event handler for the main BuildOwner's focus manager, thus messing
with focus.

This change separates those global event registrations into a
dedicated method, registerGlobalHandlers(), and overrides dispose()
to properly unregister those handlers.
2021-02-12 17:19:20 -08:00
Greg Spencer
266fb87c36
Update the Focus widget to update the node's onKey handler when the widget updates (#74909)
This updates the onKey handler of the FocusNode that the Focus widget manages when the widget is updated and the handler has changed. Also added a setter for onKey to the FocusNode.
2021-02-12 14:46:39 -08:00
Nathan Walker
422916d201
ListTile Material Ripple and Shape Patch (#74373)
This PR replaces the ColoredBox that ListTile uses with an Ink widget. That Ink widget is given a ShapeDecoration with the ListTile's color and shape. This fixes issues where the ListTile color would obscure material ripple effects, and cause the specified shape to not be respected.
2021-02-12 14:16:51 -08:00
Hans Muller
9296a527b3
Revert "Removed ButtonBar from AlertDialog (#75676)" (#75873)
This reverts commit 705cebb239a05bcdf69c6eeae6d31eda7fa24895.
2021-02-11 18:33:24 -08:00
Jason Simmons
236ee295bd
Create an InlineSpanSemanticsInformation only if the TextSpan has text (#75666)
Fixes https://github.com/flutter/flutter/issues/75622
2021-02-11 11:46:18 -08:00
Kate Lovett
6c83d84e34
Apply bottom margin to FABs that have been boosted into the Safe Area (#75809) 2021-02-10 17:26:05 -08:00
Sam Rawlins
408c092faf
Remove "unnecessary" imports in test/widgets (#75796) 2021-02-10 17:21:03 -08:00
Sam Rawlins
dea1c46a3c
Remove "unnecessary" imports. (#75637) 2021-02-10 17:06:03 -08:00
Rashid-Khabeer
a178bba5d2
Add onLongPress property to DataCell: #72609 (#75393) 2021-02-10 16:56:04 -08:00
Hans Muller
705cebb239
Removed ButtonBar from AlertDialog (#75676) 2021-02-10 16:06:50 -08:00
Miguel Beltran
3ddd77deb6
Fix for #75792 - allow use of Animator<Color?> with LinearProgressIndicator (#75794) 2021-02-10 16:06:10 -08:00
Todd Volkert
1b44133322
Move ensureVisualUpdate call to call sites in WidgetsBinding.attachRootWidget() (#75811)
This call is unnecessary and wasteful for callers that are building
parallel widget trees, since for those use cases, the caller is
generally going to build the tree synchronously immediately.
2021-02-10 16:03:48 -08:00
Todd Volkert
235927d588
Allow callers to pump a root widget with no child (#75576)
This can be useful for offscreen widget trees, where the caller
wants to completely tear down the tree (properly clean up) when
they're done with the tree, to ensure they're not leaving behind
any event listeners that could be registered by child elements
(which could lead to memory leaks and unexpected behavior).
2021-02-10 16:03:27 -08:00
Michael Goderbauer
8e87408fbe
CupertinoPageTransition Optimizations (#75670) 2021-02-10 16:03:07 -08:00
Pedro Massango
a4ae59ba89
Fix "Support configurable hit test behavior on Draggable and DragTarget" (#74047) 2021-02-10 16:01:06 -08:00
xubaolin
16af4aa7eb
Fix the NestedScrollView exception when rebuilding during scheduleWarmUpFrame (#75308) 2021-02-10 01:01:04 -08:00
xubaolin
6ad9f784b3
Add more checks when use Navigator 2.0 (#75624) 2021-02-10 00:56:02 -08:00
Michael Goderbauer
531870f57b
Fix constraints of popupmenu (#75748) 2021-02-09 17:41:03 -08:00