Christopher Fujino
1089588863
un-pin package:intl ( #119900 )
2023-02-07 12:10:18 -08:00
Justin McCandless
0b0450fbff
Web tab selection ( #119583 )
...
Correct selection behavior when tabbing into a field on the web.
2023-02-07 11:52:51 -08:00
Qun Cheng
1c225675c5
Update to v0.158 of the token database. ( #120149 )
...
* Update to v0.158 of the token database.
* Update checkbox template
* Fix DatePickerTheme test
---------
Co-authored-by: Qun Cheng <quncheng@google.com>
2023-02-07 19:16:24 +00:00
Taha Tesser
e8eac0d047
Update ExpansionTile
to support Material 3 & add an example ( #119712 )
2023-02-07 08:21:18 -08:00
Andrew Kolos
da36bd6fc0
Stop recursively including assets from asset folders ( #120167 )
...
* add test
* fix
* use preexisting testFileSystem
* fix variant tests
* Revert "use preexisting testFileSystem"
This reverts commit b6df288ef4a6ff007ecd984e98a1a3f2001ad242.
* nit: grammar
2023-02-07 16:20:23 +00:00
Mouad Debbar
e03029ef6a
[web] Move JS content to its own .js
files ( #117691 )
2023-02-07 10:51:52 -05:00
Konstantin Sokolovskyi
a6ea64457a
Fix cut button creation in 'buttonItemsForToolbarOptions' ( #119822 )
...
* Fix cut button creation in buttonItemsForToolbarOptions
* Remove extra spaces in tests
* Replace fails with expects, Add periods in the comments
2023-02-07 08:45:50 -05:00
Eilidh Southren
7a6f1d81d6
M3 segmented buttons token fixes ( #120095 )
...
* add icon button property override
* Revert "add icon button property override"
This reverts commit 6c7f4d30671f417d0f4a311bdb186bd4ebc456c8.
* segmented button updates
* button changes
* fix
* put that thing back where it came from
* template updates
* analyzer fixes
* rename parameter
* analyzer fixes
* string interpolation fix
* template updates
* test updates
2023-02-07 10:53:36 +00:00
xubaolin
1d0cbbb244
fix a [SelectableRegion] crash bug ( #120076 )
...
* fix a crash bug
* review feedback
2023-02-07 06:10:06 +00:00
Renzo Olivares
cf3fc01774
remove deprecated accentTextTheme and accentIconTheme from ThemeData ( #119360 )
...
Co-authored-by: Renzo Olivares <roliv@google.com>
2023-02-07 05:40:18 +00:00
Justin McCandless
575ced6c5a
Fix context menu web examples ( #120104 )
...
The context menu examples on the docs site now work on the web.
2023-02-06 15:51:11 -08:00
林洵锋
ec524ed068
Fix flutter_tools stuck when using custom LLDB prompt ( #119443 )
...
* Fix flutter_tools stuck when using custom LLDB prompt
* Remove trailing space character
* Fix local variable name
* Add comment
* Remove trailing space character
* Update packages/flutter_tools/lib/src/ios/ios_deploy.dart
Co-authored-by: Jenn Magder <magder@google.com>
* Update packages/flutter_tools/lib/src/ios/ios_deploy.dart
Co-authored-by: Jenn Magder <magder@google.com>
* Remove trailing space character
---------
Co-authored-by: Jenn Magder <magder@google.com>
2023-02-06 22:50:07 +00:00
Haroon Awan
40b5e4cb5e
Added "insertAll" and "removeAll" methods to AnimatedList ( #115545 )
...
* Added "insertAll" and "removeAll" method to AnimatedList
* Fixed doc
* Changes in documentation asked by reviewwer
* Removed unnecessary asserts.
* Doc changes asked by reviewer.
* Doc changes.
---------
Co-authored-by: Rashid Khabeer <rkhabeer84@gmail.com>
2023-02-06 16:45:39 +00:00
Eilidh Southren
3c3c9a1bd9
[M3] Add ListTile's iconColor property support for icon buttons ( #120075 )
...
* add icon button property override
* list tile changes
* add imports
* add newlines
* whitespace
2023-02-06 14:39:14 +00:00
Ben Konyi
47a0674651
Reland "Add --serve-observatory flag to run, attach, and test ( #118402 )" ( #119737 )
...
This reverts commit 254a796bc3f8a32d3e09c1416bce7b7b9f1ba33b.
2023-02-06 09:23:35 -05:00
Taha Tesser
bbca7ff693
Add Material 3 SwitchListTile
example and update existing examples ( #119714 )
...
* Add Material 3 `SwitchListTile` example and update existing examples
* Update examples with `useMaterial3: true` and update example descriptions.
* add a `ColorScheme` colour
2023-02-06 09:02:37 +00:00
Christopher Fujino
b8f5394a5c
[flutter_tools] Fix Future error handling ArgumentError in doctor --android-licenses ( #119977 )
...
* wip
* write test
* make error handling printError
* remove diff
2023-02-05 07:06:19 +00:00
Brandon DeRosier
f10e625eb2
De-flake adapter integration test ( #120016 )
2023-02-04 15:29:59 -08:00
godofredoc
f7c2bd05f0
Revert "Fix unable to find bundled Java version ( #119244 )" ( #119981 )
...
This reverts commit 57fd50f84e013146ecfe40a3c77f8b0499bf59da.
2023-02-04 02:57:53 +00:00
crasowas
57fd50f84e
Fix unable to find bundled Java version ( #119244 )
2023-02-03 18:04:04 -08:00
Callum Moffat
3f02d4b4c3
Tweak to floating-cursor-end behaviour ( #119893 )
...
* Tweak to floating-cursor-end behaviour
* Simplify
2023-02-03 22:29:00 +00:00
Christopher Fujino
9a7e18701e
[flutter_tools] fix Cannot delete file ENOENT from fuchsia_asset_builder ( #119867 )
...
* fix
* add test
2023-02-03 19:24:41 +00:00
Justin McCandless
00b0d550c6
Fix iOS context menu position when flipped below ( #119565 )
...
* Fix anchorBelow calculation, and share toolbar padding constant
* Fix constant references in test
* Test below position when padding is not offset by content distance
2023-02-03 18:14:59 +00:00
Taha Tesser
7177c413a9
Add Material 3 RadioListTile
example and update existing examples ( #119716 )
...
* Add Material 3 `RadioListTile` example and update existing examples
* Update examples with `useMaterial3: true` and update example descriptions.
* add a `ColorScheme` colour
2023-02-03 16:27:43 +00:00
Eilidh Southren
c5e8757fcb
Add M3 support for iconbuttons in error state in TextFields ( #119925 )
...
* add m3 iconbutton override
* changes
* spring cleaning
* whitespace fix
* sneaky whitespaces
2023-02-03 14:35:12 +00:00
Polina Cherkasova
e0b2138ba7
Dispose OverlayEntry in TooltipState. ( #117291 )
2023-02-03 06:31:47 -08:00
Jonah Williams
69421c1682
[framework] use shader tiling instead of repeated calls to drawImage ( #119495 )
...
* [framework] use shader tiling instead of repeated calls to drawImage
* ++
* ++
* review and test updates
* ++
* Update decoration_image.dart
* Update decoration_image.dart
* ++
* ++
* ++
* ++
* ++
* Update painting.dart
* Update decoration_test.dart
2023-02-03 07:28:57 +00:00
Kate Lovett
3570cce58e
Remove deprecated kind in GestureRecognizer et al ( #119572 )
...
* Remove deprecated kind in GestureRecognizer et al
* Fix null case
2023-02-03 01:34:17 +00:00
Kevin Moore
a27802e2db
flutter_tool: remove explicit length header in HTTP response ( #119869 )
...
This is already handled by pkg:shelf
There is some subtlety with String here, since String.length might not
align with the size in bytes over the wire, depending on the contents
and the encoding
Best to just let pkg:shelf handle it
2023-02-03 01:27:23 +00:00
Greg Spencer
c6264605d9
Make _focusDebug
not interpolate in debug mode ( #119680 )
...
* Make _focusDebug not interpolate in debug mode
* Add test
* Revert undesired change
* Fix test to fail before too
* Remove accidental skips
* Switch to using a generating closure for arguments.
* Remove a word
2023-02-03 01:27:20 +00:00
Flutter GitHub Bot
cfdc35859e
roll packages ( #119865 )
2023-02-02 23:59:49 +00:00
Christopher Fujino
d820aec786
Manual pub roll with dwds fix ( #119575 )
...
* roll packages
* fix dwds
* empty
---------
Co-authored-by: fluttergithubbot <fluttergithubbot@gmail.com>
2023-02-02 21:38:08 +00:00
Danny Tuppeny
8387c2388b
[flutter_tools] Use base DAP detach and ensure correct output ( #119076 )
2023-02-02 13:28:12 -08:00
Mouad Debbar
d4b6898478
[web] Put all index.html operations in one place ( #118188 )
...
* [web] Put all index.html operations in one place
* review comments
* fix build
* change quotes
* fix test
2023-02-02 19:49:18 +00:00
Michael Goderbauer
b0f1714b7b
Make Flex,Row,Column const for real ( #119673 )
...
* Make Flex,Row,Column const for real
* dart fix --apply
* fix snippets
* fix integration test
* add comment
2023-02-02 19:33:57 +00:00
Pierre-Louis
07b51a0dbb
Add missing variants and *new* indicators to useMaterial3
docs ( #119799 )
...
* Add missing variants and *new* indicators to useMaterial3 docs
* add missing *new*
2023-02-02 18:27:33 +01:00
Eilidh Southren
1ee87990dc
Revert "[Re-land] Exposed tooltip longPress ( #118796 )" ( #119832 )
...
This reverts commit d27880801435109432dcada4a2245193af4ae1f2.
2023-02-02 17:11:19 +00:00
Sigurd Meldgaard
ca0596e41d
Fix pub get --unknown-flag
( #119622 )
2023-02-02 16:22:39 +01:00
Andrew Kolos
fd76ef0f26
Reland "Add API for discovering assets" ( #119277 )
...
* add asset manifest bin loading and asset manifest api
* use new api for image resolution
* remove upfront smc data casting
* fix typecasting issue
* remove unused import
* fix tests
* lints
* lints
* fix import
* revert image resolution changes
* Update image_resolution_test.dart
* Update decode_and_parse_asset_manifest.dart
* make targetDevicePixelRatio optional
* Update packages/flutter/lib/src/services/asset_manifest.dart
Co-authored-by: Jonah Williams <jonahwilliams@google.com>
* Update packages/flutter/lib/src/services/asset_manifest.dart
Co-authored-by: Jonah Williams <jonahwilliams@google.com>
* fix immutable not being imported
* return List in AssetManifest methods, fix annotation import
* simplify onError callback
* make AssetManifest methods abstract instead of throwing UnimplementedError
* simplify AssetVariant.key docstring
* tweak _AssetManifestBin docstring
* make AssetManifest and AssetVariant doc strings more specific
* use List.of instead of List.from for type-safety
* adjust import
* change _AssetManifestBin comment from doc comment to normal comment
* revert to callback function for onError in loadStructuredBinaryData
* add more to the docstring of AssetManifest.listAssets and AssetVariant.key
* add tests for CachingAssetBundle caching behavior
* add simple test to ensure loadStructuredBinaryData correctly calls load
* Update asset_manifest.dart
* update docstring for AssetManifest.getAssetVariants
* rename getAssetVariants, have it include main asset
* rename isMainAsset field of AssetMetadata to main
* (slightly) shorten name of describeAssetAndVariants
* rename describeAssetVariants back to getAssetVariants
* add tests for TestAssetBundle
* nits
* fix typo in docstring
* remove no longer necessary non-null asserts
* update gallery and google_fonts versions
---------
Co-authored-by: Jonah Williams <jonahwilliams@google.com>
2023-02-02 15:17:15 +00:00
Jesús S Guerrero
f767f860eb
check if directory exists before listing content ( #119748 )
2023-02-02 03:02:11 +00:00
Greg Spencer
2ecf4ae962
Update the counter app to enable Material 3 ( #118835 )
...
* Update the counter app to enable Material 3
* Fix tools tests
* Update some wording
* Revert all but useMaterial3
* Update comments
2023-02-02 00:08:11 +00:00
Ian Hickson
4c99da6c56
Avoid printing blank lines between "Another exception was thrown:" messages. ( #119587 )
2023-02-01 23:57:54 +00:00
Alex Li
4ae2d3b6df
🔥 Do not format the messages file for gen-l10n
( #119596 )
...
* 🔥 Do not format the messages file
* ✅ Add test
* ✅ Add the link to the test
* ✅ Respect the path separator from the file system
* ✅ Add the untranslated messages file existence test
2023-02-01 23:45:38 +00:00
Jason Simmons
cd118dada9
Update a test expectation that depended on an SkParagraph fix ( #119756 )
...
This assertion had been disabled because a bug fix was pending in
SkParagraph. This PR updates it to match the new behavior.
See https://github.com/flutter/flutter/pull/119653
2023-02-01 22:55:02 +00:00
Michael Goderbauer
7a926dcb03
Deprecate MediaQuery[Data].fromWindow ( #119647 )
...
* Deprecate MediaQuery[Data].fromWindow
* ++
* dart fix
2023-02-01 22:44:00 +00:00
Michael Goderbauer
8fd5d4ebb1
Remove deprecated SystemNavigator.routeUpdated method ( #119187 )
...
* Remove deprected SystemNavigator.routeUpdated
* test fix
2023-02-01 22:36:11 +00:00
Ian Hickson
578edfc856
Catch errors thrown while handling pointer events ( #119577 )
2023-02-01 22:25:57 +00:00
Taha Tesser
73124dcd38
Fix ListTileThemeData.copyWith
doesn't override correct properties ( #119738 )
2023-02-01 22:07:02 +00:00
Phil Quitslund
5613ab010d
remove unnecessary parens ( #119736 )
2023-02-01 19:19:13 +00:00
Zachary Anderson
254a796bc3
Revert "Reland "Add --serve-observatory flag to run, attach, and test ( #118402 )" ( #119529 )" ( #119729 )
...
This reverts commit 7477d7ac79debc06e92a72cec3f59178c74bc44d.
2023-02-01 09:19:48 -08:00