Commit graph

19925 commits

Author SHA1 Message Date
Gary Qian 6e8ebb3771
Reland "Upgrade targetSdkVersion and compileSdkVersion to 33" (#116146) 2022-12-01 07:12:47 -08:00
Justin McCandless 014b441ddf
Revert "iOS 16 context menu (#115805)" (#116312)
This reverts commit 1cb16a1e39.
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
Tae Hyung Kim 7802c7acd8
[gen_l10n] Improvements to gen_l10n (#116202)
* init

* fix tests

* fix lint

* extra changes

* oops missed some merge conflicts

* fix lexer add tests

* consistent warnings and errors

* throw error at the end

* improve efficiency, improve code generation

* fix

* nit

* fix test

* remove helper method class

* two d's

* oops

* empty commit as google testing won't pass :(
2022-11-30 15:07:06 -08:00
Christopher Fujino 2ef2cc89e9
[flutter_tools] add deprecation message for "flutter format" (#116145) 2022-11-30 14:00:01 -08:00
Danny Tuppeny a29796e339
[flutter_tools] Forward app.webLaunchUrl event from Flutter to DAP clients (#116275)
* [flutter_tools] Forward app.webLaunchUrl event from Flutter to DAP clients

Fixes https://github.com/Dart-Code/Dart-Code/issues/4292.

* Update packages/flutter_tools/lib/src/debug_adapters/flutter_adapter.dart

Co-authored-by: Christopher Fujino <fujino@google.com>

* Another static const instead of final

Co-authored-by: Christopher Fujino <fujino@google.com>
2022-11-30 21:25:07 +00:00
Casey Hillers d2af134578
Revert "Fix Slider semantic node size (#115285)" (#116294)
This reverts commit 8473da22cd.
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
Christopher Fujino 24b3c384c2
add debug trace when compiling dart2js (#116238) 2022-11-30 19:04:59 +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 900b395451.
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
chunhtai 6b98f2ca44
labeledTapTargetGuideline should passe if textfield does not have label (#116221) 2022-11-30 00:10:07 +00:00
Christopher Fujino 9532b91c74
[flutter_tools] normalize windows file path cases in flutter validator (#115889)
* normalize windows file path cases in flutter validator

* fix

* make comparison more accurate by checking .startsWith() rather than .contains()

* fix method name

* call path.canonicalize

* fix
2022-11-29 23:46:48 +00:00
Mohammed CHAHBOUN a9c2f8b9e9
Add onFocusChange property for ListTile widget (#111498) 2022-11-29 15:46:40 -08:00
hellohuanlin e438a12057
[tools]build ipa validate app icon size (#115594)
* [tools]build ipa validate icon size

* add more checks in case apple change the format, and also add device lab tests

* do not depend on collection package
2022-11-29 23:19:02 +00: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 d58855c499.

* 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
Tae Hyung Kim 39a73cabed
Add Escaping Option for ICU MessageFormat Syntax (#116137)
* init

* make more descriptive

* fix lint
2022-11-28 19:35:06 -08:00
Michael Thomsen d6995aa249
Ignore NullThrownError deprecation (#116135)
* Ignore NullThrownError deprecation

* Fix whitespace
2022-11-28 18:09:56 -08:00
Jonah Williams f777c9f651
[flutter_tools] use absolute path for shader lib (#116123)
* [flutter_tools] use absolute path for shader lib

* update tests
2022-11-29 01:57:26 +00: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
Tae Hyung Kim 215f6372c6
Refactor Message class to hold all translations (#115506)
* init

* more fixing

* finish

* fix lint

* address pr comments

* redo checks
2022-11-28 20:27:33 +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
Kevin Moore 259373d62b
[flutter_tools] Add --dump-info, --no-frequency-based-minification flags (#115862)
* [flutter_tools] Add --dump-info, --no-frequency-based-minification flags

Also some cleanup to named arguments to the buildWeb function

Fixes https://github.com/flutter/flutter/issues/115854

* fix tests
2022-11-22 23:57:25 +00:00
Zachary Anderson 73024eb703
[flutter_tool] Adds --enable-dart-profiling flag (#115863) 2022-11-22 15:47:51 -08: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 91aeda7bf6.
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