9542 Commits

Author SHA1 Message Date
Bruno Leroux
073cefad02
[RawKeyboard] Fix Linux remapped CapsLock throws (#115009)
Co-authored-by: Bruno Leroux <bruno.leroux@gmail.com>
2022-11-21 19:43:55 +00:00
chunhtai
567d0045bf
Add clip option for navigator (#115775) 2022-11-21 19:21:17 +00:00
Camille Simon
7045a8b570
Add Spell Check to Editable Text (iOS) (#110193)
* Add ios to integration test and comments

* Add licenses

* Fix integration test for ios

* Delete pngs

* Undo changes to integration test

* Undo error

* Add ios task

* Fix task for landing
2022-11-21 19:11:48 +00:00
hangyu
0e57147db1
nav drawer (#115668) 2022-11-18 15:10:05 -08:00
chunhtai
01c1e8e587
Allows pushing page based route as pageless route (#114362)
* Allows pushing page based route as pageless route

* update
2022-11-18 14:38:50 -08:00
Bruno Leroux
2cb2e84a39
Add more InkWell tests (#115634)
Co-authored-by: Bruno Leroux <bruno.leroux@gmail.com>
2022-11-18 20:12:19 +00:00
fzyzcjy
98077617bb
Tiny improvement of RouteSettings display (#114481)
* impl

* Update packages/flutter/lib/src/widgets/navigator.dart

Co-authored-by: chunhtai <47866232+chunhtai@users.noreply.github.com>

* Update navigator_test.dart

Co-authored-by: chunhtai <47866232+chunhtai@users.noreply.github.com>
2022-11-18 19:38:10 +00:00
Taha Tesser
ca78327402
Fix NavigationBar ripple (#115499)
* Fix `NavigationBar` ripple

* remove unused import
2022-11-18 18:47:17 +00:00
chunhtai
3a3a0db13e
Disallow dispose during listener callback (#114530)
* Disallow dispose during listener callback

* addressing comment

* add comments to code

* Addressing comments

* fix test
2022-11-18 09:29:59 -08:00
Bruno Leroux
87cb150c20
InkResponse highlights can be updated (#115635)
Co-authored-by: Bruno Leroux <bruno.leroux@gmail.com>
2022-11-18 15:14:53 +00:00
hangyu
f261c2f71a
update comments (#115603) 2022-11-17 19:51:22 -08:00
Bruno Leroux
710e708cce
Improve showSnackBar documentation (#114612)
Co-authored-by: Bruno Leroux <bruno.leroux@gmail.com>
2022-11-18 00:48:04 +00:00
chunhtai
4ff7fc6413
Fixes a bug where dragging a collapsed handle in TextField does not vibrate (#115586) 2022-11-17 20:29:18 +00:00
Taha Tesser
ac06523b74
Add Material 3 support for Slider - Part 2 (#114624)
* Add Material 3 support for Slider - Part 2

* Kick tests

* Update drawing order to fix html renderer bug

* Update test
2022-11-17 18:33:16 +00:00
chunhtai
c2b29501f4
Add selection feedback for both selection area and text field (#115373)
* Add selection feedback for both selection area and text field

* Addressing comment

* Fixes more test
2022-11-17 18:27:56 +00:00
Qun Cheng
a1ea383fa5
Label should always be aligned with text in filled input decoration (#115540)
Co-authored-by: Qun Cheng <quncheng@google.com>
2022-11-17 18:27:53 +00:00
Hans Muller
70b7445cba
Reland Added Badge.count constructor (#115566) 2022-11-17 17:15:52 +00:00
Hans Muller
537f89ca0e
Revert "Added Badge.count constructor (#115297)" (#115564)
This reverts commit e9622ce93a45b6e1e5a45c7729de4fc41381dc0b.

Landing before presubmits have completed to unblock the build.
2022-11-17 08:06:24 -08:00
Hans Muller
e9622ce93a
Added Badge.count constructor (#115297) 2022-11-17 06:05:06 -08:00
Hans Muller
e8cbd444e4
Added Badge.isLabelVisible flag (#115292) 2022-11-17 06:02:42 -08:00
Ahmed Ashour
59f389db78
Remove unneeded comparison to double.nan (#115470)
Fixes #115468
2022-11-17 03:53:05 +00:00
Jonah Williams
d01874d71e
[framework] re-rasterize page transition when layout size changes (#115371)
* [framework] autoresize on snapshot widget

* ++

* ++

* ++

* use layout to resize
2022-11-16 23:05:15 +00:00
Qun Cheng
829e44db92
Fixed label alignment (#115409)
Co-authored-by: Qun Cheng <quncheng@google.com>
2022-11-16 22:04:48 +00:00
Srujan Gaddam
f205471a69
Use concrete factory constructor for DomXMLHttpRequest (#115094)
This code should be calling the factory method, not the synthetic
constructor.
2022-11-16 13:15:29 -08:00
harperl-lgtm
490fe2835d
Updated instructions for adding new localized messages. (#115390) 2022-11-16 15:44:14 -05:00
Greg Spencer
93c4b09e62
Add RestorableEnumN<T> and RestorableEnum<T> to restorable primitive types (#115050)
* Add RestorableEnumN and RestorableEnum to restorable primitive types

* Review Changes

* Change to assert if not part of the valid set.

* Assert if default value isn't in the enum
2022-11-16 02:07:50 +00:00
fzyzcjy
7d2b01132d
Fix logic error in markNeedsPaint (#112735)
* Update object.dart

* Update object.dart

* Update object.dart

* Update object.dart

* Update object.dart
2022-11-16 00:06:51 +00:00
hangyu
d0e5b2fbaa
Add a way to customize padding in BottomAppBar (#115175)
* squash 5 into 1

fix

Update packages/flutter/lib/src/material/bottom_app_bar.dart

lint

update tests

Co-Authored-By: Hans Muller <hansmuller@chromium.org>

* lint

Co-authored-by: Hans Muller <hansmuller@chromium.org>
2022-11-15 15:54:52 -08:00
Tae Hyung Kim
700de09fd5
Change button and label text to sentence case for Material 3 (#115187)
* init

* upper case only when material 2

* fix test

* fix test

* fix tests again

* Add all tests

* analyze"

* fix stepper
2022-11-15 20:57:09 +00:00
hangyu
136b46ba91
Hint text semantics to be excluded in a11y read out if textfield in not empty and label text is provided (#115010)
* update hint semantics

* Update input_date_picker_form_field_test.dart
2022-11-15 12:32:32 -08:00
Darren Austin
39a9ed5721
Updated tokens to v0.141 (#115298) 2022-11-15 10:33:19 -08:00
Maurice Parrish
95ace11afa
Include initial offset when using PlatformViewSurface (#114103)
* add position to layout creation

* make position nullable

* fix tests

* test

* clear test size

* clear device pixel ratio

* add more documentaiton

* add comment about localToGlobal
2022-11-15 18:21:37 +00:00
Brandon DeRosier
e9c6212da0
[Impeller] Add shader include with FlutterFragCoord for use by FragmentProgram (#114214) 2022-11-14 21:38:46 -08:00
fzyzcjy
8e3ea14787
Incorrect rendering of SnapshotWidget (#114400)
* add tests

* try to fix

* fix compile error

* refactor code

* rename

* doc

* refactor test

* simple rename
2022-11-15 01:39:57 +00:00
Qun Cheng
244990775a
Fixed the color curve issue (#115188) 2022-11-14 11:31:03 -08:00
Darren Austin
6ec2bd0a80
M3 Segmented Button widget (#113723) 2022-11-11 22:13:57 -08:00
Dan Field
9e314ff749
Make FutureBuilder handle SynchronousFuture correctly, reland SynchronousFuture usage in test assets (#115173)
* Make FutureBuilder handle SynchronousFuture correctly

* Reland  "Load assets in flutter_test without turning event loop. (#115123)" (#115156)"

This reverts commit 3895786f9854a73c92406f7f8ccf8db06d3581b7.
2022-11-12 01:36:05 +00:00
Dan Field
3895786f98
Revert "Load assets in flutter_test without turning event loop. (#115123)" (#115156)
This reverts commit 88e49ed274b5515caa9faaf03b261f9a73cf7e37.
2022-11-11 12:14:39 -08:00
Xilai Zhang
338841afd3
Revert "Revert "Revert "Scribble mixin (#104128)" (#114647)" (#114698)" (#115146)
This reverts commit 3cde69e8d9dff7e081cb6daa6cd633c49176cb32.
2022-11-11 10:01:11 -08:00
Dan Field
88e49ed274
Load assets in flutter_test without turning event loop. (#115123)
* Load assets in flutter_test without turning event loop.

This makes it possible to load an asset without actually turning
the event loop. This is importnat because our FakeAsync zones
may cause people to sprinkle in extra pumpAndSettles in when
running tests that load assets, which is undesirable.

* fix null checking
2022-11-11 04:17:12 +00:00
Kate Lovett
d41308179a
Fix shrinkwrap on animated list (#115104) 2022-11-10 22:20:06 +00:00
Taha Tesser
1f891a0f33
Fix RangeSlider semantics node size (#114999)
* Fix `RangeSlider` semantics node size and add RTL semantics test

* Add TODO comments
2022-11-10 20:03:39 +00:00
Hans Muller
5a600456b0
Reland: Adds support for the Material Badge widget, BadgeTheme, BadgeThemeData (#114560) (#115002)
Requires G3Fix cl/486997831
2022-11-10 11:05:50 -08:00
Phil Quitslund
008ac174f9
remove unnecessary brace in string interpolation (#115032) 2022-11-10 01:36:24 +00:00
Taha Tesser
d3dcd7d532
Update CircleAvatar to support Material 3 (#114812) 2022-11-09 03:50:41 -08:00
Greg Spencer
1ca2e0b5b2
Fix CastError in StadiumBorder.lerpTo and StadiumBorder.lerpFrom when using BorderRadiusDirectional (#114826)
* Fix casting in StadiumBorder lerp

* Add tests

* Fix made-up names
2022-11-07 23:29:52 +00:00
Bruno Leroux
f1cdfa289d
Use AppBar.systemOverlayStyle to style system navigation bar (#104827)
* Use upper AnnotatedRegion properties when no bottom one found (and vice versa)

* Update comments

Co-authored-by: Bruno Leroux <bruno.leroux@gmail.com>
2022-11-07 20:42:56 +00:00
Bruno Leroux
5628ebf662
[RawKeyboard] Allow inconsistent modifiers for Web (#114499)
Co-authored-by: Bruno Leroux <bruno.leroux@gmail.com>
2022-11-07 20:41:09 +00:00
Pedro Massango
e1adc96d5e
feat: provide a way to set the initial child's alignment (#114745)
InteractiveViewer.alignment parameter
2022-11-07 12:08:22 -08:00
Justin McCandless
3cde69e8d9
Revert "Revert "Scribble mixin (#104128)" (#114647)" (#114698)
Relands the "Scribble mixin" PR, which was reverted due to breaking a Google test in the last roll.
Breaks the Scribble feature out of TextInputClient in order to avoid breaking changes.
2022-11-07 11:28:27 -08:00