10450 Commits

Author SHA1 Message Date
chunhtai
568eef343e
Revert "Dismiss Modal Barrier on handleTapCancel (#98191)" (#100784)
This reverts commit 58ad6e1befb771369c697570ada026a806db5ada.
2022-03-25 10:43:10 -07:00
xubaolin
31191dd29a
Fixes some widgets(ListView.builder, GridView.builder etc.) state-lose issue (#100547)
* ++

* ++

* ++

* ++

* codereview feedback

* ++
2022-03-25 09:27:08 +08:00
fzyzcjy
7c804f6909
Fix typo (again) (#100684) 2022-03-24 13:46:37 -07:00
chunhtai
93fc7f59a5
fix hidden TextSpan with recognizer does not auto scroll (#100494) 2022-03-24 13:39:55 -07:00
Emmanuel Garcia
19680c34cc
Revert "Reland: "Always use texture layer when displaying an Android view" (#100237)" (#100660)
This reverts commit d92fedcccb645ba155e93c5b72052692f10196b1.
2022-03-24 00:28:13 -07:00
Taha Tesser
321ffa2ead
Move ListTileTheme and its tests into separate classes and add visualDensity to the ListTileTheme (#100622) 2022-03-23 13:29:30 -07:00
CHAHBOUN Mohammed
ba53b55949
Add child for placeholder widget (#100372) 2022-03-23 13:20:23 -07:00
Darren Austin
0a7b3d72c9
Updated tokens to v0.92. (#100599) 2022-03-23 12:10:17 -07:00
jellynoone
3420b9c50e
Fix compute in unsound null safety debug mode (#100544) 2022-03-23 11:30:07 -07:00
Justin McCandless
1f3ed602a1
Fix crash after paste and unmount (#100589) 2022-03-23 10:15:09 -07:00
WenJingRui
dbbaf68ee4
Fix: fix the delay of showOnScreen animation when keyboard comes up. (#99546) 2022-03-23 02:10:09 -07:00
xubaolin
f1d8e30c4b
Add HitTestBehavior property to MouseRegion (#100405) 2022-03-22 23:55:11 -07:00
xubaolin
16dda86539
Fix a ModalbottomSheet bug (#99970) 2022-03-22 15:55:13 -07:00
Jonah Williams
32c021bd33
[framework] use Uint8List for SMC (#100582) 2022-03-22 15:00:13 -07:00
Darren Austin
86c02e998b
Migrate Card widget to Material 3. (#100532) 2022-03-22 13:46:56 -07:00
LongCatIsLooong
dc331d393b
[RenderAnimatedSize] Resume interrupted resizing animation on attach (#100519) 2022-03-22 13:15:12 -07:00
Taha Tesser
a24246029a
Make Tooltip state class public (#100553) 2022-03-22 12:10:22 -07:00
Michael Goderbauer
8560d914eb
Upgrade to flutter_lints 2.0 (#99881) 2022-03-22 11:00:23 -07:00
Kate Lovett
d435b72448
Revert "Re-land text selection theme clean up" (#100564) 2022-03-22 10:30:22 -07:00
Darren Austin
a6e945fb1f
Add surfaceTint color to the ColorScheme. (#100153) 2022-03-21 23:14:33 -07:00
LongCatIsLooong
69b92f0452
Hide autocomplete menu on select. (#100251) 2022-03-21 21:25:09 -07:00
Kate Lovett
63a12b3d31
Re-land text selection theme clean up (#99927) 2022-03-21 17:56:28 -05:00
Kate Lovett
5bc9340233
Put stretch indicator behind m3 flag (#100234) 2022-03-21 17:55:57 -05:00
Kate Lovett
c9312c784d
Fix stretch edge case (#99365) 2022-03-21 15:50:18 -07:00
Pierre-Louis
9d4e81678b
Fix deprecated_new_in_comment_reference for material library (#100289)
* fix deprecated_new_in_comment_reference for `material` library

in a future version of the SDK, these will be flagged, fix them now

* Update pubspec.yaml
2022-03-21 20:18:40 +01:00
MrBirb
4d2dc5d642
Typo in EditableText strutStyle (#100474) 2022-03-21 11:55:15 -07:00
Taha Tesser
4cea5ee0da
CupertinoSwitch: Add clickable cursor for web (#99554) 2022-03-21 10:10:24 -07:00
Pierre-Louis
8c1c2f6af5
Introduce Theme extensions (#98033)
* first pass

* x

* x

* address feedback

* support multiple extensions

* add convenience function, Object ⇒ dynamic, lerping

* remove not-useful comment

* fix examples/api lower sdk constraint

* remove trailing spaces

* remove another pesky trailing space

* improve lerp

* address feedback

* hide map implementation from constructor and copyWith

* use iterableproperty

* Revert "hide map implementation from constructor and copyWith"

This reverts commit a6994af0046e3c90dbc9405cac628feb5b2d3031.

* slow down sample

* make theme extension params required

* add null check

* improve documentation

* fix hashCode and operator == overrides

* modify existing tests

* remove trailing spaces

* add all tests except lerping

* fix lerping bug

* add toString to themeExtension example

* add lerping test

* assume non-nullability in example

* address feedback

* update docs

* remove trailing space

* use Map.unmodifiable
2022-03-21 15:26:30 +01:00
fzyzcjy
36fa6c4d90
Fix wrong documentation: There is no LeaderLayer._lastOffset anymore (#100300) 2022-03-18 16:55:12 -07:00
chunhtai
c98cb4a450
Add fadeDuration back to TextSelectionOverlay (#100381)
* Add fadeDuration back to TextSelectionOverlay

* fix build and add dart fix

* format

* add test
2022-03-18 13:05:18 -07:00
Jonah Williams
5a52ad6dbd
[framework] Remove danger zone (#100246) 2022-03-18 11:30:21 -07:00
Justin McCandless
a217bbb6de
Hide toolbar after select all on desktop (#100261) 2022-03-18 10:50:18 -07:00
Taha Tesser
795fe375bc
Fix PopupMenuButton's IconButton not inheriting IconTheme size (#100199) 2022-03-18 10:05:17 -07:00
Michael Goderbauer
3d46ab920b
Reorganize compute docs and add sample code (#100253) 2022-03-17 18:45:21 -07:00
Anthony
7c73053f70
[Material] Use InkSparkle for splashFactory in ThemeData when useMaterial3 is true for Android non-web runtimes (#99882)
[Material] Use InkSparkle for splashFactory in ThemeData when useMaterial3 is true for Android non-web runtimes (#99882)
2022-03-17 20:49:42 -04:00
Jonah Williams
984d8a8b5a
Revert "[framework] don't hit test for system nav bar or system chrome on desktop" (#100263) 2022-03-17 16:55:24 -07:00
Justin McCandless
30846de3ec
Material text selection menu should not show pointer cursor (#100248) 2022-03-17 16:50:15 -07:00
Darren Austin
6ec0b83580
Add support for surface tint color overlays to Material widget. (#100036) 2022-03-17 15:58:24 -07:00
jellynoone
3c6b760e4c
Refractor compute (#99527) 2022-03-17 13:40:10 -07:00
Yegor
c2409797ff
Roll chrome 96 attempt 2 (#100073)
* [web] roll Chromium dep to 96.2

Roll Chromium 96.2.

This is the second attempt to roll it. The previous attempt
(https://github.com/flutter/flutter/pull/99725) failed due to a LUCI
cache issue.

* cache-bust CIPD dependency by changing its name
* specify chrome_and_driver version in canvaskit tests
* fix CRC corruption in kTransparentImage
2022-03-17 13:23:43 -07:00
Emmanuel Garcia
d92fedcccb
Reland: "Always use texture layer when displaying an Android view" (#100237) 2022-03-17 12:46:26 -07:00
Taha Tesser
1cd4eebf47
Add missing expansionTileTheme theme copyWith test (#100165) 2022-03-16 11:25:17 -07:00
Zachary Anderson
1c2c942112
Revert "Always use texture layer when displaying an Android view (#100091)" (#100222)
This reverts commit 509ddfda5c1bda7c01cf51fe24607da19423d5f9.
2022-03-16 09:12:25 -07:00
Emmanuel Garcia
509ddfda5c
Always use texture layer when displaying an Android view (#100091) 2022-03-15 21:10:18 -07:00
moko256
13bf7515f4
Web: treat modifier key without location (#98460) 2022-03-15 19:50:10 -07:00
Sahaj Rana
fd25dc8483
Add 'mouseCursor' to TextFormField (#99822)
* Add 'mouseCursor' to TextFormField

Added 'mouseCursor' to TextFormField. 
Related issue: https://github.com/flutter/flutter/issues/99770

* added test for 'mouseCursor' in TextFormField.

added test for 'mouseCursor' in TextFormField.

* Update packages/flutter/test/material/text_form_field_test.dart

Co-authored-by: Tong Mu <dkwingsmt@users.noreply.github.com>

* Update packages/flutter/test/material/text_form_field_test.dart

Co-authored-by: Tong Mu <dkwingsmt@users.noreply.github.com>

* Minor update: Added a space.

* Removed icon & minor updates.

Co-authored-by: Tong Mu <dkwingsmt@users.noreply.github.com>
2022-03-15 16:02:01 -07:00
Jonah Williams
8010a53761
Revert "Do not eagerly allocate inherited widget caches when initializing element tree" (#100152) 2022-03-15 14:25:22 -07:00
Jesse
e3f2b88d10
Make NavigationRail.selectedIndex nullable (#95336) 2022-03-14 16:14:19 -07:00
LongCatIsLooong
a3514c77c6
Revert "Avoid calling performLayout when only the relayout boundary is different" (#100068) 2022-03-14 15:00:19 -07:00
Emmanuel Garcia
f58e8f56ef
Fix AndroidView offset and resize (#99888) 2022-03-14 14:39:32 -07:00