11457 Commits

Author SHA1 Message Date
Justin McCandless
014b441ddf
Revert "iOS 16 context menu (#115805)" (#116312)
This reverts commit 1cb16a1e396fdfaedae0bb291aae562fa88d1d81.
2022-12-01 02:24:18 +00:00
Qun Cheng
6bb412e35e
Added controller and onSelected properties to DropdownMenu (#116259) 2022-11-30 16:58:21 -08:00
Taha Tesser
aaa4a52839
Add Material 3 Slider example (#115638)
* Add Material 3 `Slider` example

* Update doc

* Update test titles
2022-12-01 00:00:19 +00:00
Mitchell Goodwin
97195d1d51
Update CupertinoContextMenu to iOS 16 visuals (#110616)
* Update CupertinoContextMenu to iOS 16 visuals

* Revert some formatting

* Remove space

* Remove formatting changes, add more comments

* Added shadow effect

* Update context menu tests

* Remove white spaces

* Remove unused variable

* Refactor type checking logic

* Set default previewBuilder and update tests

* Check for border radius

* Remove trailing spaces

* Add builder to constructor

* Update previewBuilder

Rebase to master

* Update builder and tests

* Remove trailing spaces

* Update examples

* Refactor builder

* Update builder to use one animation

* Update scale

* Change deprecation message, remove white spaces

* Change deprecation message

* Change deprecation message

* Change deprecation message

* Update documentation

* Update documentation

* Update documentation and examples

* Update documentation and examples

* Remove white spaces

* Remove white spaces

* Remove const

* Address linting errors

* Seperate builder into own constructor

* Remove trailing characters

* Formatting changes

* Remove white spaces

* Change ignore comment

* Add TODO

* Remove whitespace
2022-11-30 16:28:04 -07:00
Casey Hillers
d2af134578
Revert "Fix Slider semantic node size (#115285)" (#116294)
This reverts commit 8473da22cde2fcedd51af654822cac83a9b5ecb5.
2022-11-30 11:21:39 -08:00
Eilidh Southren
29422d25fe
M3 snackbar [re-land] (#116218)
* Add M2 defaults and template skeleton

* add MaterialStateColor functionality to ActionTextColor (issue #110402)

* Add M2 defaults and template skeleton

* updated material 3 tokens

* Updated snackbar demo

* add theme tests

* add gen defaults

* formatting

* more whitespace fixes

* add widget type

* update docs

* code review changes

* Add line overflow functionality

* whitespace fixes

* update M3 animation

* whitespace fixes

* add insetPadding param

* Modifed icon parameter to showCloseIcon

* white space fixes

* test fixes

* rename iconColor to closeIconColor

* debug test fix

* de-britishification

* g3fix

* g3fix

* debug test fix
2022-11-30 19:13:00 +00:00
Taha Tesser
a52293843c
[Reland] Add Material 3 support for TabBar (#116283)
* Add Material 3 support for `TabBar`

* M3 `TabBar` revert fix and tests
2022-11-30 17:58:07 +00:00
Pierre-Louis
b2672fe835
Revert "Add Material 3 support for TabBar (#116110)" (#116273)
This reverts commit 900b395451bb29748b07ac45467b93b2f5490102.
2022-11-30 13:20:19 +00:00
Michael Goderbauer
06979d4e2e
shrinkWrap nuke (#116236) 2022-11-30 03:07:15 +00:00
Darren Austin
b30eb6c54d
Updated useMaterial3 documentation to include missing M3 components. (#116234)
* Updated `useMaterial3` documentation to include missing M3 components.

* Fixed typo
2022-11-30 03:07:12 +00:00
Taha Tesser
8473da22cd
Fix Slider semantic node size (#115285) 2022-11-30 02:27:45 +00:00
Taha Tesser
333397a0ed
Fix Material 3 BottomSheet example (#116112)
fix title
2022-11-30 02:08:21 +00:00
Darren Austin
322dd06d6e
Updated the M3 textTheme to use onSurface color for all styles. (#116125) 2022-11-29 18:03:33 -08:00
hangyu
afda8153fd
Adjust Material 3 textfield padding to align with specs (#116225)
* Adjust textfield padding

* lint

* lint
2022-11-29 17:07:32 -08:00
Mohammed CHAHBOUN
a9c2f8b9e9
Add onFocusChange property for ListTile widget (#111498) 2022-11-29 15:46:40 -08:00
Taha Tesser
900b395451
Add Material 3 support for TabBar (#116110) 2022-11-29 22:36:37 +00:00
Qun Cheng
8b86d238b4
Create DropdownMenu Widget to Support Material 3 (#116088)
* Created ComboBox

* Fixed failing tests

* Reverted the menu style tests change

* Addressed comments

* Updated documentation and rename foregroundColor variable

* Remamed ComboBox to DropdownMenu

* Removed a unused import

* Removed unused import

Co-authored-by: Qun Cheng <quncheng@google.com>
2022-11-29 22:36:35 +00:00
Justin McCandless
1cb16a1e39
iOS 16 context menu (#115805)
Updates the text selection toolbar on iOS light mode to match changes in native iOS 16.
2022-11-29 14:00:04 -08:00
Dan Field
3219da9b5f
Use Isolate.run as implementation for compute (#115779) 2022-11-29 19:38:03 +00:00
Kate Lovett
8b32ac7a51
Revert "Update SnackBar to support Material 3" (#116199)
* Revert "Update SnackBar to support Material 3 (#115750)"

This reverts commit d58855c49986d46588b0e2b1bf2f8b2bb97e3932.

* Kick ci.yaml

Co-authored-by: Jenn Magder <magder@google.com>
2022-11-29 19:11:43 +00:00
Eilidh Southren
d58855c499
Update SnackBar to support Material 3 (#115750)
* Add M2 defaults and template skeleton

* add MaterialStateColor functionality to ActionTextColor (issue #110402)

* Add M2 defaults and template skeleton

* updated material 3 tokens

* Updated snackbar demo

* add theme tests

* add gen defaults

* formatting

* more whitespace fixes

* add widget type

* update docs

* code review changes

* Add line overflow functionality

* whitespace fixes

* update M3 animation

* whitespace fixes

* add insetPadding param

* Modifed icon parameter to showCloseIcon

* white space fixes

* test fixes

* rename iconColor to closeIconColor

* debug test fix

* de-britishification
2022-11-29 18:02:34 +00:00
LongCatIsLooong
24db45e792
Disable backspace/delete handling on iOS & macOS (#115900)
* Disable backspace/delete handling on iOS

* fix tests

* review

* macOS too

* review
2022-11-29 10:03:15 +00:00
Michael Thomsen
d6995aa249
Ignore NullThrownError deprecation (#116135)
* Ignore NullThrownError deprecation

* Fix whitespace
2022-11-28 18:09:56 -08:00
Greg Spencer
0cb9f70460
Menu bar accelerators (#114852)
* Add MenuMenuAcceleratorLabel to support accelerators.

* Review Changes

* Review Changed

* Fix default label builder to use characters

* Remove golden test that shouldn't have been there.
2022-11-29 00:27:20 +00:00
fzyzcjy
9fba4296e7
Tiny code cleanup: remove unnecessary comparisons (#114488)
* minor

* Update binding.dart
2022-11-28 23:03:50 +00:00
LongCatIsLooong
ccc277c38b
Fix LayoutExplorer cycle (#115526)
* Fix LayoutExplorer cycle

* fix tests

* Update widget_inspector.dart

* Update widget_inspector.dart

* review

* expandPropertyValues
2022-11-28 22:25:07 +00:00
Mitchell Goodwin
b22ab5117f
Reland Cupertino text input padding (#115164)
* Update Cupertino text input padding

* Remove comment

* Update tests
2022-11-28 14:12:49 -07:00
Taha Tesser
beaabb70c5
Add IndicatorShape to NavigationRailTheme and fix indicator ripple. (#116108)
* Add `IndicatorShape` to `NavigationRailTheme` and fix  indicator ripple.

* remove unused variables
2022-11-28 20:44:29 +00:00
chunhtai
224fae5063
Fix iOS selectWordEdge doesn't account for affinity (#115849)
* Fix iOS selectWordEdge doesn't account for affinity

* fix test

* update
2022-11-28 17:32:17 +00:00
Bruno Leroux
d841d32146
TabBar should adjust scroll position when Controller is changed (#116019)
Co-authored-by: Bruno Leroux <bruno.leroux@gmail.com>
2022-11-28 15:51:17 +00:00
Jonathan Goyvaerts
2703a2bcde
Fix current day not being decorated when it was disabled for picking. (#115240)
Fixes flutter/flutter#113277
2022-11-27 22:41:07 -08:00
Darren Austin
96d7f9cb13
Updated tokens to v0_143. (#115890) 2022-11-27 22:08:48 -08:00
Jim Graham
0eb2d51ec9
Use the new pushImageFilter offset parameter to fix the transform of the children (#113673) (#115884) 2022-11-23 07:42:34 +00:00
Jonas Uekötter
6a26305d1c
Update documentation for PlatformException.stacktrace (#114028)
* Update message_codec.dart

* remove whitespace

* Update doc comment

* Update message_codec.dart
2022-11-22 22:54:21 +00:00
Taha Tesser
94b9fa4111
Provide an option to update Focus's semantics under FocusableActionDetector` (#115833)
Update test

Update comments
2022-11-22 22:49:19 +00:00
Jonah Williams
9bb07b5f70
Revert "Use the new pushImageFilter offset parameter to fix the transform of the children (#113673)" (#115861)
This reverts commit 91aeda7bf6f977207d7ac07ca46c26560007a244.
2022-11-22 13:29:56 -08:00
Jim Graham
91aeda7bf6
Use the new pushImageFilter offset parameter to fix the transform of the children (#113673) 2022-11-22 17:24:44 +00:00
Callum Moffat
3fe7794255
BouncingScrollPhysics should propagate decelerationRate. (#115797) 2022-11-22 00:15:52 +00:00
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
Bernardo Ferrari
d2e6dfefa5
Fix formatting in BottomAppBar test (#115520)
This PR made a few mistakes on formatting: https://github.com/flutter/flutter/pull/115175
2022-11-18 21:15:26 +00: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
Christopher Fujino
459391708e
[flutter_tools] Pin package:archive and manual roll (#115662)
* add package:archive to pins

* roll
2022-11-18 19:28: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