Commit graph

19784 commits

Author SHA1 Message Date
Casey Hillers 5dfa50c838
Revert "Add button semantics in list tile" (#112779) 2022-10-03 13:24:22 +00:00
Andrew Kolos f8c9f72b94
URI-decode asset paths before writing them to the asset manifest (#112415) 2022-10-01 01:09:06 +00:00
hangyu 1e87fdd883
Add button semantics in list tile (#112593) 2022-09-30 12:52:08 -07:00
Greg Spencer 874ea75dce
Fix menu_anchor_test.dart's state leak (#112718)
Merging on red to green the build.
2022-09-30 10:40:47 -07:00
Jonah Williams 99fb2d36e8
[flutter_tools] cache more directories (#112651) 2022-09-30 08:52:29 +00:00
Jason Simmons 2a4adab7f4
Return ErrorHandlingFileSystem backed objects in ErrorHandlingFileSystem file/directory APIs (#112673) 2022-09-29 22:57:20 +00:00
Liam Appelbe 278ac62755
Migrate flutter_tools to use package:coverage (#111681) 2022-09-29 18:36:21 +00:00
Darren Austin 2bf83dd860
Add support for Material 3 Divider and VerticalDivider (#112655) 2022-09-29 11:30:53 -07:00
Qun Cheng a1e9411c82
Fixed the size issue (#112601) 2022-09-29 09:45:05 -07:00
Taha Tesser fd6997f07a
Add Dialog.fullscreen and example (#112261) 2022-09-29 09:12:05 -07:00
joshualitt c66049fcef
Reland "Migrate package/flutter to JS static interop. (#111315)" (#112418) 2022-09-29 08:36:51 -07:00
Danny Tuppeny 5655225cd7
Send progress notifications to clients during hot reload / hot restart (#112455) 2022-09-29 16:27:40 +01:00
xubaolin 5c522996be
fix some DSS bugs (#112142) 2022-09-29 05:04:19 +00:00
Jason Simmons 74dfc0708d
Treat assets as variants only if they share the same filename (#112602) 2022-09-29 01:36:20 +00:00
Jesús S Guerrero fc015f52c6
Use directory exists instead of path.dirname (#112219) 2022-09-28 22:24:24 +00:00
LongCatIsLooong 78e94155a0
[RenderEditable] report real height when maxLines == 1. (#112029) 2022-09-28 21:40:47 +00:00
Greg Spencer 8c271e5cb8
Implement Material MenuBar and MenuAnchor (#112239)
This implements a MenuBar widget that can render a Material menu bar, and a MenuAnchor widget used to create a cascading menu in a region. The menus are drawn in the overlay, while the menu bar itself is in the regular widget tree. Keyboard traversal works between the two.

This implementation of the MenuBar uses MenuAnchor to create a cascading menu that contains widgets representing the menu items. These menu items can be any kind of widget, but are typically SubmenuButtons that host submenus, or MenuItemButtons that have shortcut hints (but don't actually activate the shortcuts) and don't host submenus.

Cascading menus can be created outside of a MenuBar by using a MenuAnchor. They can be either given a specific location to appear (a coordinate), or they can be located by the MenuAnchor region that wraps the control that opens them.

The developer may also create a MenuController to pass to the various menu primitives (MenuBar or MenuAnchor) to associate menus so that they can be traversed together and closed together. Creating a controller is not required.
2022-09-28 14:10:18 -07:00
Callum Moffat 4c5817c5f4
Reland "Fix DraggableScrollableSheet rebuilding during drag" (#112479) 2022-09-28 19:32:20 +00:00
Alexandre Ardhuin cfe0c2a10c
unnecessary_stateful_widgets (#112296) 2022-09-28 18:19:51 +00:00
hangyu 3aba4bfaf1
Add mouse region for InputDecorationIcons in the textfield (#112543)
* Update mouse region

* Update text_field_test.dart

* lint
2022-09-28 23:41:26 +08:00
Tong Mu 31e2618b7a
[RawKeyboard] Allow inconsistent modifiers for iOS and Android (#108926) 2022-09-28 01:29:22 +00:00
Gazihan Alankus 9e95f5f75e
Doc fix, followerAnchor changed to targetAnchor (#112054) 2022-09-27 23:31:05 +00:00
LongCatIsLooong 29e0f5f990
Add regression test for TextPainter.getWordBoundary (#112229) 2022-09-27 23:27:05 +00:00
Andrew Kolos cb5b5c3459
Tighten asset variant detection criteria to only include device-pixel-ratio variants (#110721) 2022-09-27 20:57:33 +00:00
Jonah Williams 4119210e73
[framework] use Visibility instead of Opacity (#112191) 2022-09-27 19:58:31 +00:00
chunhtai 86f30978ff
Fixes Text contrast test rect check (#112492) 2022-09-27 19:03:23 +00:00
Mitchell Goodwin 26af12ed9f
Change default text color of CupertinoAlertDialog to theme primary color (#111785) 2022-09-27 16:10:26 +00:00
Casey Hillers bd5c347193
Revert "Add support for Material 3 Divider and VerticalDivider" (#112471) 2022-09-27 15:15:59 +00:00
Liam Appelbe 436cdca8c6
Fix null safety error in fuchsia_tester.dart (#112414) 2022-09-26 16:02:20 -07:00
haizhu cbfe5a5226
[tool] Proposal to support dart define config from a json file (#108098) 2022-09-26 21:47:27 +00:00
chunhtai 50cd73775f
Expose text boundary combiner class (#112085) 2022-09-26 21:45:53 +00:00
Flutter GitHub Bot 2adee31ce8
Roll pub packages (#112408) 2022-09-26 21:21:58 +00:00
Taha Tesser 1d5f455c4c
Add support for Material 3 Divider and VerticalDivider (#112378) 2022-09-26 20:36:09 +00:00
Lau Ching Jun 2a73ce9b50
Refactor DeviceManager.findTargetDevices() and FlutterCommand.findAllTargetDevices(), and add a flag to not show prompt. (#112223) 2022-09-23 21:10:35 +00:00
Casey Hillers 8384f1ea65
Revert DraggableScrollableSheet controller changes (#112293) 2022-09-23 20:31:04 +00:00
Anthony Oleinik 4ceeca0833
Added example for Magnifier and TextMagnifier (#110218) 2022-09-23 20:29:32 +00:00
Qun Cheng e167162830
Updated ProgressIndicator to M3 (#112139) 2022-09-23 11:13:40 -07:00
MH Johnson 96a770bda0
[Material] Remove "down position" from toggleable ripple calculation (#112209)
* remove down position from toggleable ripple
2022-09-23 11:50:37 -04:00
Bruno Leroux f314f1bccc
Update TabBarView children after a transition to an adjacent tab (#112168) 2022-09-23 15:38:12 +00:00
Casey Hillers 4aa27d844e
Revert "Migrate package/flutter to JS static interop. (#111315)" (#112247) 2022-09-23 04:00:22 +00:00
fzyzcjy 97e09c8a78
Fix SliverPinnedPersistentHeader, also not able to update stretchConfiguration and showOnScreenConfiguration (#112043) 2022-09-23 01:43:20 +00:00
fzyzcjy fa2d770c60
Fix SliverScrollingPersistentHeader not able to update stretchConfiguration (#112042) 2022-09-23 00:42:46 +00:00
fzyzcjy 1fbd7ec117
Fix CupertinoAlertDialog and CupertinoActionSheet, which mis-behave when orientation changes (#112041) 2022-09-23 00:41:20 +00:00
fzyzcjy a5dc49f4da
Add assertion to _CupertinoSwitchRenderObjectWidget, otherwise it is confusing why updateRenderObject omits state update (#112044) 2022-09-23 00:37:51 +00:00
fzyzcjy 31d03d5058
PerformanceOverlay's multiple fields are not updated when the user wants to update it (#112039) 2022-09-22 22:26:21 +00:00
fzyzcjy 772bd4381a
Fix RenderEditable not able to update backgroundCursorColor when the user provides a new one (#112045)
Pass through backgroundCursorColor parameter
2022-09-22 14:56:00 -07:00
Flutter GitHub Bot a24b50ba8f
Roll pub packages (#112225) 2022-09-22 21:18:22 +00:00
Darren Austin bef6f3065c
Fixed an iconTheme lerping problem with ChipThemeData. (#112216) 2022-09-22 20:53:45 +00:00
Flutter GitHub Bot f16fe11ecf
Roll pub packages (#112021) 2022-09-22 20:23:42 +00:00
Callum Moffat aee6af7b45
ui.PointerSignalKind forwards compatibility for scale (#112170) 2022-09-22 17:44:05 +00:00
Robin Schönau c41a08fd0f
Update InheritedWidget example parameter naming (#112137) 2022-09-22 16:19:49 +00:00
LongCatIsLooong 72707416f2
Prevent committing text from triggering EditableText.onChanged (#112010) 2022-09-21 22:59:04 +00:00
Samuel 5f01d07c98
Added iconTheme to RawChip in ChoiceChip (#110908) 2022-09-21 18:23:24 +00:00
stuartmorgan bc994c7ffd
Allow Hybrid Composition fallback for Android platform views (#109161) 2022-09-21 15:57:11 +00:00
Polina Cherkasova 0a35cf95eb
Instrument State, Layer, RenderObject and Element. (#111328) 2022-09-20 16:39:46 -07:00
Yunus Emre Bakır 6e491d8870
Update showCupertinoModalPopup documentation (#106274) 2022-09-20 23:32:58 +00:00
Flutter GitHub Bot d5946021e5
Roll pub packages (#112004) 2022-09-20 22:07:57 +00:00
LongCatIsLooong c825fb1963
Fix InputDecorator child vertical alignment (#112003) 2022-09-20 21:45:08 +00:00
Qun Cheng 06b87fba64
Update Radio button to material 3 (#111774) 2022-09-20 14:09:20 -07:00
Greg Spencer ce7789e030
Some miscellaneous changes found while making another PR (#111620) 2022-09-20 21:03:02 +00:00
Frank Hinkel 4aea2f9933
Add friction coefficient to InteractiveViewer (#109443) 2022-09-20 20:57:23 +00:00
Flutter GitHub Bot 8b36f4fb07
Roll pub packages (#111989) 2022-09-20 19:17:20 +00:00
Remi Rousselet 6f3168c4b6
Re-add the ability to return null in ListView.builder (#108706) 2022-09-20 18:36:09 +00:00
Callum Moffat 6157c0e845
Remove controller listener on CupertinoPicker dispose (#111977) 2022-09-20 18:30:17 +00:00
Christopher Fujino eead1efe5f
[flutter_tools] Fix type error in ChromiumDevice.startApp (#111935) 2022-09-20 18:10:13 +00:00
Jonah Williams 3a1a25339e
[framework] avoid compositing with visibility (#111844) 2022-09-20 17:28:57 +00:00
Kate Lovett 1b583a837d
Revert "Fix Scrollbar thumb drag behavior on desktop." (#111978) 2022-09-20 16:51:13 +00:00
hangyu d5bee36d24
Fix an reorderable list animation issue:"Reversed ReorderableListView drop animation moves item one row higher than it should #110949" (#111027) 2022-09-20 07:13:47 +00:00
Kate Lovett 30c2d77d16
Remove Deprecated RenderUnconstrainedBox (#111711) 2022-09-20 00:54:36 +00:00
Zlati Pehlivanov 888b141a50
fix: bottom navigation bar colors (#107924) 2022-09-19 17:25:27 -07:00
Darren Austin ba489607a1
Fixed an issue with FilterChip's changing size when selected due to border size. (#111916) 2022-09-19 15:29:24 -07:00
Qun Cheng 2ba20e5ab6
Update token v0.127 to v0.132 (#111913) 2022-09-19 14:38:23 -07:00
Kate Lovett 533229585d
Remove deprecated ScrollBehavior.buildViewportChrome (#111715) 2022-09-19 21:07:19 +00:00
Elias Yishak 9e87a5b08a
fix for flakey analyze test (#111895) 2022-09-19 21:00:56 +00:00
Dan Field 36a5a0f55f
Avoid sending zero transform semantic nodes to the engine (#111843) 2022-09-19 20:11:47 +00:00
Callum Moffat 70b19ff987
Add macOS-specific scroll physics (#108298) 2022-09-19 20:08:03 +00:00
Darren Austin df110ef020
Provide Material 3 defaults for vanilla Chip widget. (#111597) 2022-09-19 19:23:55 +00:00
Kate Lovett 75d8fb364c
Remove deprecated drag anchor (#111713) 2022-09-19 18:52:01 +00:00
joshualitt 6906493a94
Migrate package/flutter to JS static interop. (#111315) 2022-09-19 10:28:37 -07:00
fzyzcjy 4ead92cf9b
Fix UiKitView which wrongly unconditionally repaints (#111790) 2022-09-19 17:16:18 +00:00
gaaclarke a7166e7a4e
Reland isolate platform channels with conditional compilation (#111712) 2022-09-19 16:52:33 +00:00
Taha Tesser ff6aa928aa
Fix Scrollbar thumb drag behavior on desktop. (#111250) 2022-09-19 07:51:16 +00:00
jensjoha 836c16efc0
Only access globals.deviceManager if actually setting something (#111461) 2022-09-19 09:18:31 +02:00
Viren Khatri e2ab3e581e
fixed inconsistent file names for *_chip.dart files and added a test (#111364) 2022-09-17 03:17:06 +00:00
Callum Moffat 0322b57796
Fix changing DraggableScrollableSheet controller (#111445) 2022-09-16 23:17:04 +00:00
xubaolin eae9bba77b
fix a draggableScrollableSheet's LocalHistoryEntry leaking (#110576) 2022-09-16 23:07:54 +00:00
xubaolin 9be0fa74d6
Fix a CupertinoScrollbar NNBD issue (#111198) 2022-09-16 23:07:52 +00:00
chunhtai bcc1dc6b99
Makes TextBoundary and its subclasses public (#110367) 2022-09-16 22:05:04 +00:00
Kate Lovett f0b0b28410
Reset missing deprecation for ScrollbarThemeData.copyWith(showTrackOnHover) (#111706) 2022-09-16 21:45:17 +00:00
Liam Appelbe 9489458650
Reland "Null safety migration of packages/flutter_tools/bin" (#111756)
This reverts commit f8f69575dd.
2022-09-16 12:39:55 -07:00
Kate Lovett da4e4054b0
Add missing deprecation notice for toggleableActiveColor (#111707) 2022-09-16 19:27:53 +00:00
Bruno Leroux 25e88cb154
Fix OutlineInputBorder with BorderRadius.zero is distorted (#106849) 2022-09-16 19:12:56 +00:00
Jenn Magder 7714a8d034
Do not codesign transitive dependency iOS pod resource bundles (#111714) 2022-09-16 18:02:12 +00:00
Taha Tesser e8e979772a
Reland "Update MaterialBanner to support Material 3" (#111299) 2022-09-16 17:24:07 +00:00
Nazareno Cavazzon 0ad0a56e86
panningDirection parameter added to InteractiveViewer (#109014) 2022-09-16 17:22:12 +00:00
Sam Rawlins 0500962440
Return null rather than fall off nullable onError catchError handler. (#111581) 2022-09-16 04:35:19 +00:00
Christopher Fujino 35f8724b14
[flutter_tools] fix AndroidSdk.reinitialize bad state error (#111527) 2022-09-16 03:49:30 +00:00
gaaclarke 12506ed978
Revert isolate platform channels because of google integration tooling (#111702)
* Revert "turned on background isolate platform channel tests for android (#111279)"

This reverts commit 71b47975a9.

* Revert "Reland: Started handling messages from background isolates. (#111320)"

This reverts commit 1ad2757042.
2022-09-15 16:46:08 -07:00
Sam Rawlins f68646eeee
Fix RangeSlider constructor reference to [value] (#111694) 2022-09-15 23:18:06 +00:00
Christopher Fujino 6bb2018af7
[flutter_tools] reduce doctor timeout to debug 111686 (#111687) 2022-09-15 20:59:17 +00:00
Phil Quitslund af8271b678
Fix todo format (#111685) 2022-09-15 20:57:46 +00:00
Greg Spencer c03eef4d57
Remove no-longer-needed clamping of RRect radii (#111668) 2022-09-15 20:54:18 +00:00
Flutter GitHub Bot d26365504c
Roll pub packages (#111679) 2022-09-15 19:51:47 +00:00
godofredoc 61db3bc8c5
Revert "Single tap on the previous selection should toggle the toolbar on iOS…" (#111662) 2022-09-15 16:44:17 +00:00
Michael Goderbauer b8df71fcaf
Add BuildContext.mounted (#111619) 2022-09-15 16:17:08 +00:00
Polina Cherkasova 3860498972
Fix performance regression. (#111615) 2022-09-14 17:11:12 -07:00
Greg Spencer 5f9ad01ebf
Prepare the framework for having RRect assert on negative radii (#111515) 2022-09-14 23:21:01 +00:00
Darren Austin 278637748b
Updated the Action chip's documentation regarding disabled states. (#111598) 2022-09-14 21:22:07 +00:00
Elias Yishak 0c829caad8
error handling when path to dir provided instead of file (#109796) 2022-09-14 21:13:13 +00:00
Qun Cheng 23d1b15345
Updated tokens to v0.127 (#111495) 2022-09-14 11:34:40 -07:00
chunhtai 6b1f84fe10
Reland "Update accessibility contrast test coverage (#109784)" (#110502)
This reverts commit 41b50c22b0.
2022-09-14 09:46:00 -07:00
姚春锋 148a0b264b
let the plugin's output generated in flutter/.android/plugins_build_output/${androidPlugin.name} (#94645) 2022-09-14 15:47:16 +00:00
Dan Field e18c34abbb
Fix text direction nullability (#111513) 2022-09-14 00:38:06 +00:00
Taha Tesser f5ebf41b14
Fix the TimePicker hour/minute field's input actions (#97361) 2022-09-13 22:30:09 +00:00
Zachary Anderson f8f69575dd
Revert "Null safety migration of packages/flutter_tools/bin" (#111506) 2022-09-13 21:55:14 +00:00
Dan Field 07c1ef25a9
Utility methods for measuring text (#111493) 2022-09-13 19:47:26 +00:00
Callum Moffat 7b5241b39b
Fix DraggableScrollableSheet rebuilding during drag (#111010) 2022-09-13 19:31:19 +00:00
Kenzie Davisson 4356d3b676
Create an enum for widget inspector service extensions for use by tools (#111405) 2022-09-13 09:53:24 -07:00
Flutter GitHub Bot 9ba35816ca
Roll pub packages (#111423) 2022-09-12 23:03:50 +00:00
Liam Appelbe e3b9223a74
Null safety migration of packages/flutter_tools/bin (#110706)
* Migrate packages/flutter_tools/bin

* Fix NPE

* Fix test

* Fix test

* Fix l10n optionalParameters

* Fix ChromeTab nullability

* Fix another type cast error

* Fix another cast error

* Fix another cast error (copied from #110711)

* Fix NPE

* Fix another NPE

* Assert that testDirectory is not null
2022-09-12 15:52:31 -07:00
Kenzie Davisson a34e6b0792
Create enum for service extensions in services library (#111412) 2022-09-12 15:22:28 -07:00
Greg Spencer 08e61631ff
Allow Navigator to inherit traversal policy from parent. (#110818) 2022-09-12 21:57:55 +00:00
Justin McCandless 8f9a519519
Fix Magnifier crash (#111303) 2022-09-12 21:57:52 +00:00
Xilai Zhang 20a78ed69f
Revert "Use semantics label for backbutton and closebutton for Android" (#111305) 2022-09-12 20:00:07 +00:00
Dan Field 7b81bbd5d1
Add doc note about when to dispose TextPainter (#111403) 2022-09-12 18:31:48 +00:00
Greg Spencer 228ea2c28e
Fix references to symbols to use brackets instead of backticks (#111331) 2022-09-12 18:31:45 +00:00
Jonah Williams cd83477457
[framework] work around to load self packages from packages/ (#111350) 2022-09-12 18:30:00 +00:00
gaaclarke 1ad2757042
Reland: Started handling messages from background isolates. (#111320) 2022-09-12 17:44:48 +00:00
Yegor 6b56654890
[web] skip more perspective text tests (#111402) 2022-09-12 10:30:40 -07:00
Christopher Fujino e4a203b347
[flutter_tools] filter "Resolving dependencies..." from dart pub get output to fix test flakiness (#111312) 2022-09-10 00:26:55 +00:00
Polina Cherkasova a3c3dc864c
Create class MemoryAllocations. (#110230) 2022-09-09 17:23:10 -07:00
Christopher Fujino 2e299e1934
[flutter_tools] Pin url_launcher_android and update packages (#111309) 2022-09-09 23:57:03 +00:00
gaaclarke c33115943f
Revert "Started handling messages from background isolates." (#111318) 2022-09-09 23:25:17 +00:00
Loïc Sharma 22f3b4edf5
[Windows] Use dark title bar on dark system theme (#111042) 2022-09-09 22:23:59 +00:00
Nate Bosch 4d5c68c4eb
Remove .pub directories from iml templates (#109622) 2022-09-09 22:20:12 +00:00
gaaclarke 0d19d46b44
Started handling messages from background isolates. (#109005)
Started handling messages from background isolates.
2022-09-09 15:14:21 -07:00
Alejandro Santiago d671a834f3
fix: removed Widget type from child parameter in OutlinedButton (#111034) 2022-09-09 22:12:29 +00:00
Greg Spencer e617d003fb
Normalize examples (#111223) 2022-09-09 21:17:11 +00:00
Ivan Dlugos d63442c1da
refactor: strip all local symbols from macOS and iOS App.framework - reduces app size (#111264) 2022-09-09 21:13:10 +00:00
Greg Spencer b10947884b
Fix documentation for InputDecoration.focusColor (#111290) 2022-09-09 19:43:04 +00:00
Qun Cheng 75fac6ae4d
Migrated Switch to Material 3 (#110095) 2022-09-09 11:53:48 -07:00
Casey Hillers e3f8ee8806
Revert "Update MaterialBanner to support Material 3" (#111288) 2022-09-09 18:44:56 +00:00
Christopher Fujino 7875c80344
[flutter_tools] add test debugging for #111272 (#111280) 2022-09-09 18:00:46 +00:00
Valentin Vignal 4cd734ae3a
Fix typos introduced typos in popup_menu_theme_test.dart (#111060) 2022-09-09 16:03:27 +00:00
Kenzie Davisson 8708493352
Create enum for scheduler service extension names so they can be accessed from tooling (#111222)
* Create enum for scheduler service extension names so they can be accessed from tooling

* fix two more strings
2022-09-09 08:54:36 -07:00
Renzo Olivares ad946f8478
Add ability to show magnifier on long press (#111224) 2022-09-09 12:24:36 +00:00
Tom Gilder e43850d197
Fix TabBarView with no animation not navigating (#110985) 2022-09-09 05:35:07 +00:00
Liam Appelbe ec75399beb
Null safety migration of packages/flutter_tools/test/general.shard, part 1/2 (#110711)
* Migrate packages/flutter_tools/test/general.shard, part 1/2

* Fix most of the tests

* Fix analysis

* Fix analysis

* Fix test

* Fix analysis

* Fix analysis

* Fix nit
2022-09-08 15:25:27 -07:00
Qun Cheng 98eac3f198
Migrated Checkbox to Material 3 - Added Error State (#111153) 2022-09-08 14:42:29 -07:00
yaakovschectman 4d3c122434
Use tristate checkbox engine changes (#111032)
* Introduce tests for tristate checkboxes

* Initial

* Use tristate changes in engine

* Flutter_test matchers test update

* Comments, tests

* Update packages/flutter/lib/src/semantics/semantics.dart

Co-authored-by: Chris Bracken <chris@bracken.jp>

* Assert mutual exclusivity

* Assert valid state before updating state

* Update packages/flutter/lib/src/semantics/semantics.dart

Typo fix in comment

Co-authored-by: Loïc Sharma <737941+loic-sharma@users.noreply.github.com>

Co-authored-by: Chris Bracken <chris@bracken.jp>
Co-authored-by: Loïc Sharma <737941+loic-sharma@users.noreply.github.com>
2022-09-08 17:41:54 -04:00
Camille Simon 70f6bed9ee
Fix spell_check_test (#110814) 2022-09-08 21:24:12 +00:00
Jonah Williams 7e1e840999
[framework] revert removal of opacity (#111202) 2022-09-08 18:33:23 +00:00
Kate Lovett 5f2d730f1f
Revert Ballistic & Clamping simulation updates (#111201) 2022-09-08 17:43:54 +00:00
Hans Muller dc6ab62696
Fixed one-frame InkWell overlay color problem on unhover (#111112) 2022-09-08 10:20:32 -07:00
Elias Yishak 66c306b452
Windows version check in doctor (#110013) 2022-09-08 14:30:19 +00:00
Sigurd Meldgaard d80e994a62
Reland: Show output from pub get in flutter pub get (#110851) 2022-09-08 15:13:23 +02:00
Eilidh Southren 1ed2312493
Deprecate ThemeDate.bottomAppBarColor (#111080)
* test commit

* Deprecate BottomAppBarColor field

* test commit

* Deprecate BottomAppBarColor field

* Update fix_data.yaml & tests

* remove text.txt

* Update PR ID values

* Update fix_data.yaml

* Make deprecation changes non-breaking

* Whitespace formatting

* Modify docstring, retain bottomAppBarColor default

* Modify theme_data_test.dart

* Update docstrings
2022-09-08 12:36:07 +01:00
Viren Khatri 165cb0b986
fixes FadeInImage for an edge case (#111035) 2022-09-08 02:41:31 +00:00
Kenzie Davisson fe309e3415
Create service extension consts for rendering lib (#111149) 2022-09-07 17:54:54 -07:00
Greg Spencer e3a6a0da91
Annual spelling error fix (#111132) 2022-09-07 23:49:03 +00:00
Kenzie Davisson 31709953b0
only include foundation changes (#111146) 2022-09-07 16:32:04 -07:00
Kenzie Davisson c10164c4b2
Create consts for service extension names so they can be accessed from tooling (#110876) 2022-09-07 15:38:38 -07:00
pdblasi-google 574fb1f0a0
110598: expect() in semantic test producing unhelpful output (#110613) 2022-09-07 20:55:33 +00:00
Yegor 820a009fa2
[web] skip flaky date picker golden tests (#111114) 2022-09-07 20:10:40 +00:00
Liam Appelbe 4453ba0a4d
Null safety migration of packages/flutter_tools/test/general.shard, part 2/2 (#110712)
* Migrate packages/flutter_tools/test/general.shard, part 2/2

* Fix analysis

* Fix tests

* Fix analysis

* Apply suggestions from code review

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

Co-authored-by: Christopher Fujino <fujino@google.com>
2022-09-07 12:28:52 -07:00
Jason Simmons dcf42ada0f
Use raw fontFamilyFallback values without packages when constructing a merged TextStyle (#110887) 2022-09-07 18:59:04 +00:00
Pierre-Louis fb2f4c9cb9
[Fonts] Update icons (#111092) 2022-09-07 17:32:51 +00:00
Kaushik Iska d5f372bccd
Request DartPerformanceMode.latency during transitions (#110600) 2022-09-07 12:54:06 -04:00
Michael Thomsen 242bb67d19
Update null safety warnings in prep for Dart 3 (#110998) 2022-09-07 14:59:25 +02:00
Darren Austin 33ed6a3533
Fixing elevation issues with Material 3 (#110624)
* Added support for surfaceTintColor and shadowColor to the Dialog widgets.
* Updated the defaults for Material.shadowColor and Material.surfaceTint to allow turning off the features with a transparent color.
* Added support for shadowColor and surfaceTintColor for Drawer widget.
2022-09-06 16:16:45 -07:00
Dan Field eaff1562a9
Dispose Paragraph objects (#110627) 2022-09-06 20:45:55 +00:00
Liam Appelbe 8da0432094
Null safety migration of packages/flutter_tools/test/commands.shard/hermetic, part 1/3 (#110707)
* Migrate packages/flutter_tools/test/commands.shard/hermetic, part 1/3

* Fix tests

* Fix analysis

* Fix analyze_test

* Make AnalysisServer a local variable

* Chris's comments
2022-09-06 11:21:23 -07:00
Liam Appelbe c0354999a7
Migrate packages/flutter_tools/test/web.shard (#110713) 2022-09-06 11:05:41 -07:00
Valentin Vignal 27896a7b49
Adds PopupMenuPosition position to the PopupMenuThemeData (#110268) 2022-09-06 17:49:14 +00:00
Liam Appelbe 22cef4898a
Null safety migration of packages/flutter_tools/test/commands.shard/hermetic, part 2/3 (#110708)
* Migrate packages/flutter_tools/test/commands.shard/hermetic, part 2/3

* Fix tests

* Fix analysis

* Chris's comments
2022-09-06 10:39:18 -07:00
Liam Appelbe 9dbc09de1f
Null safety migration of packages/flutter_tools/test/commands.shard/hermetic, part 3/3 (#110709)
* Migrate packages/flutter_tools/test/commands.shard/hermetic, part 3/3

* Fix tests

* Chris's comment
2022-09-06 10:22:40 -07:00
Liam Appelbe 089d955156
Null safety migration of packages/flutter_tools/test/commands.shard/permeable (#110710)
* Migrate packages/flutter_tools/test/commands.shard/permeable

* Fix upgrade_test

* Chris's comments
2022-09-06 10:22:09 -07:00
yaakovschectman 96b72232bd
Preliminary PR for engine changes for Tristate checkboxes (#110859)
* Honor mixed state

* Prepare for change to engine

* Unused vars

* Remove comments

* Skip test for now

* Comment for skip

* Compartmentalize changes

* Justification comments
2022-09-06 09:29:05 -04:00
Ivan Dlugos 723b82e4f0
Feat: dSYM debug info for iOS & macOS builds (#101586) 2022-09-05 18:16:16 +00:00
Taha Tesser fbba1942c5
Migrate ListTile disabled icon color to Material 3 (#102078) 2022-09-05 10:12:28 +00:00
Taha Tesser d8fdb83555
Update MaterialBanner to support Material 3 (#105957) 2022-09-05 09:00:24 +00:00
LongCatIsLooong a87540bad1
Add inherit: false to material2018 text geometry text themes (#110870) 2022-09-03 00:26:56 +00:00
Jenn Magder c075ef058c
Revert "[Windows] Use dark title bar on dark system theme" (#110890) 2022-09-03 00:18:34 +00:00
chunhtai 22c8e79cc1
Use semantics label for backbutton and closebutton for Android (#110873) 2022-09-02 23:21:22 +00:00
Loïc Sharma 2fb5b2729a
[Windows] Use dark title bar on dark system theme (#110615) 2022-09-02 23:15:12 +00:00
Anna Gringauze 3292f89764
Update issue reference for skipped hot restart tests (#110881) 2022-09-02 14:38:24 -07:00
Qun Cheng 4b91b220b8
Fix Tooltip Issue on Switch (#110830) 2022-09-02 12:54:53 -07:00
Elliott Brooks (she/her) 57e42f0223
Manually update DWDS version to v.16.0.0 (#110822) 2022-09-02 19:17:48 +00:00
Christopher Fujino 08d5d51a98
[flutter_tools] Instantiate shutdown hooks before localfilesystem (#110693) 2022-09-02 17:38:56 +00:00
Zachary Anderson 74b18c948a
Revert "Bump android SDK to 33" (#110861) 2022-09-02 15:52:50 +00:00
Gary Qian 35c18eb13f
Bump android SDK to 33 (#109583) 2022-09-02 15:30:12 +00:00
Pierre-Louis 8f5ee0ed58
Delete .packages (#110749) 2022-09-02 10:50:46 +02:00
Pierre-Louis 8853926601
Deprecate ThemeData errorColor and backgroundColor (#110162) 2022-09-02 04:02:55 +00:00
Pierre-Louis 0c2f7bc2a2
Remove errant double spaces (#110758) 2022-09-02 04:00:58 +00:00
LongCatIsLooong bdb74e16c6
Fix Action.overridable example (#110824) 2022-09-02 00:46:21 +00:00
Greg Spencer 2051f09c68
Add Overlay.maybeOf, make Overlay.of return a non-nullable instance (#110811) 2022-09-02 00:13:12 +00:00
David Iglesias 9cb9f6bca4
[tool] Fix flutter.js regression with hot-reload on promise-based init. (#110805) 2022-09-01 22:25:16 +00:00
Christopher Fujino 8361465f77
[flutter_tools] change the way version is calculated on master (#110791) 2022-09-01 20:32:36 +00:00
Zachary Anderson c3cb5a0f46
Make ink_sparkle use FragmentShader (#110552) 2022-09-01 13:19:20 -07:00
Qun Cheng 4125a3a8f0
Fixed the leading IconButton size (#110722) 2022-09-01 19:03:13 +00:00
Mohammed CHAHBOUN e0a83e6250
Add splashColor property for ListTile widget (#100652) 2022-08-31 21:23:30 +00:00
Qun Cheng a490a6a11d
Migrated Checkbox to Material 3 Colors (#110537) 2022-08-31 20:38:32 +00:00
Gary Qian ddfcda73cd
Track platform in MigratePlaformConfig and enforce metadata file being provided (#110540) 2022-08-31 19:04:22 +00:00
Tae Hyung Kim 0508a1defd
[flutter_tools] Generate Localizations on flutter run for web (#110526) 2022-08-31 17:42:51 +00:00
Qun Cheng 34a628483c
Fixed the default color of the trailing widget on app bar (#110635) 2022-08-31 10:15:48 -07:00
Helin Shiah 8842281c29
Use UriConverter from context for test (#110539)
* Use UriConverter from context for test

* Fix type

* Pass URI converter using installHook

* Fix formatting

* Fix formatting in test

* Add comment about URI converter
2022-08-31 09:20:36 -07:00
Ankur Jain 986503981c
Add test where white text on white background fails contrast. (#110217) 2022-08-30 22:50:18 +00:00
Jason Simmons f57fcac717
Clear the static _debugDoingBaseline flag if baseline calculation throws (#110387) 2022-08-30 19:49:17 +00:00
Jenn Magder 5f5d4802fe
Support single arch local engines for 'build macos-framework' and 'ios-framework' (#110564) 2022-08-30 17:44:14 +00:00
chunhtai 1dd6a23358
Refactor macOS text editing shortcuts (#110289) 2022-08-30 16:25:00 +00:00
Loïc Sharma c60cf97c19
[Windows] Hide app until first frame is drawn (#109816) 2022-08-30 14:26:21 +00:00
Greg Spencer 7122a0095c
Fix some tap region bugs (#110398) 2022-08-30 01:04:16 +00:00
Jonah Williams d6dd832d0f
[flutter_tools] migrate gradle errors and project test to null safety (#110530) 2022-08-29 19:47:16 +00:00
Zachary Anderson c6ec84e978
[flutter_tools] Pull more arm64 artifacts on Apple Silicon (#110291) 2022-08-29 10:33:24 -07:00
Greg Spencer ee8488e871
Remove warnings when UnconstrainedBox and ConstraintsTransformBox are clipped (#110393) 2022-08-29 17:21:04 +00:00
Greg Spencer 9f0da30fa5
Fix an exception in StarBorders that are scaled to small or infinite sizes (#110419) 2022-08-29 15:56:22 +00:00
Chinmoy c6870ee969
Added onSelectionChange callback to SelectionRegion and SelectionArea (#108985) 2022-08-29 15:21:45 +00:00
Zachary Anderson 0e195e9d46
Revert "Show output from pub get in flutter pub get (#106300)" (#110478)
This reverts commit 3802eb627e.
2022-08-29 08:02:50 -07:00
Sigurd Meldgaard 3802eb627e
Show output from pub get in flutter pub get (#106300) 2022-08-29 07:37:19 +00:00
Akshdeep Singh 519a5783c0
add material slider secondary value (#109808) 2022-08-28 23:26:32 +00:00
Jonah Williams 0053b089a6
[flutter_driver] make empty duration messages more helpful (#110441) 2022-08-28 19:54:08 +00:00
Casey Hillers 41b50c22b0
Revert "Update accessibility contrast test coverage (#109784)" (#110436)
This reverts commit f477c8b184.
2022-08-28 10:30:01 -07:00
Jonah Williams 428cafadb0
[flutter_tools] migrate some files to null safety (#110354) 2022-08-26 18:03:04 +00:00
Darren Austin 8a40c7ded0
Fixed some doc typos in OutlineButton and TextButton.styleFrom deprecations. (#110308) 2022-08-26 10:32:43 -07:00
Taha Tesser b6c2335ddf
Replace _lerpProperties with MaterialStateProperty.lerp in button_style.dart (#110323) 2022-08-26 09:55:19 -07:00
fzyzcjy 5be7e49dcf
Fix Image's logical flow which disposes its image too early, causing errors such as "Cannot clone a disposed image" (#110131) 2022-08-26 15:58:54 +00:00
Greg Spencer fefb2b00ba
Re-Land "Refactor StrokeAlign to allow double values." (#108339) (#110234) 2022-08-25 20:56:24 +00:00
Yegor 6e57ed6088
[web] fix hot restart in entrypoint generated by flutter create (#110229) 2022-08-25 20:30:00 +00:00
Christopher Fujino db51e5d944
[flutter_tools] unpin path_provider_android and roll (#110216) 2022-08-25 19:42:21 +00:00
Daco Harkes d34801a8da
FFI plugin bump FFIgen to 6.1.2 (#110246) 2022-08-25 19:33:05 +00:00
Darren Austin 5454bab6c1
Added support for M3 filled and filled tonal buttons. (#107382) 2022-08-25 11:36:03 -07:00
Ankur Jain f477c8b184
Update accessibility contrast test coverage (#109784) 2022-08-25 17:28:08 +00:00
Danny Tuppeny 676a4264aa
[dap] Don't wait for appStarted before responding to launch/attach + don't call app.stop for unstarted app (#109386) 2022-08-25 15:35:09 +00:00
Jonah Williams 637bd0fb74
[framework] simplify raster widget, rename, combine painters (#109485) 2022-08-25 00:52:08 +00:00
Christopher Fujino 6e95067273
[flutter_tools] Fix _CastError in HotRunner._resetDirtyAssets (#108771) 2022-08-24 23:40:19 +00:00
FluentCoding c5edf62900
Support for FilterQuality in FadeInImage (#110096) 2022-08-24 23:00:52 +00:00
Newton Michael 5bc4a7612f
use super parameters in framework (#103620) 2022-08-24 17:22:21 +00:00
Pierre-Louis 360ac5bc79
Add covariant to ThemeExtension.lerp (#105207)
* Add covariant to `ThemeExtension.lerp`

* x

* x
2022-08-24 18:18:39 +02:00
Taha Tesser 0c24a4db53
Fix floatingActionButtonAnimator not being updated (#110067) 2022-08-24 08:42:45 -07:00
eggfly cf309b61b4
Fix some typos (#110077) 2022-08-24 21:56:09 +08:00
Qun Cheng c0c3874c77
Revert "Reland: Set IconButton.visualDensity default to VisualDensity.standard (#109432)" (#110119)
This reverts commit 79013b2be8.
2022-08-23 15:41:03 -07:00
Qun Cheng c8569b6e98
Revert "Fixed leading button size on app bar (#110043)" (#110103)
This reverts commit 7e33cd5ef3.
2022-08-23 13:50:09 -07:00
yaakovschectman c865207540
Document tristate value (#110106)
Documentation for Checkbox.value previously did not cover the tristate case.
2022-08-23 15:58:56 -04:00
Qun Cheng 7e33cd5ef3
Fixed leading button size on app bar (#110043) 2022-08-22 22:37:10 +00:00
Kate Lovett 7e12b37111
Deprecate 2018 text theme parameters (#109817) 2022-08-22 20:00:34 +00:00
Greg Spencer 77b41ba844
Remove the FocusScopeNode in the navigator (#109702) 2022-08-22 17:27:32 +00:00
hangyu 6a1fc9eae6
InputDecorator iconColor/prefixIconColor/suffixIconColor (#109988) 2022-08-23 00:35:51 +08:00
Zachary Anderson bd6b5cef95
[flutter_tools] Enable custom devices on all channels (#109953) 2022-08-21 12:16:53 -07:00
Greg Spencer 957a8da4a2
Revert "Re-Land "Refactor StrokeAlign to allow double values." (#109805)" (#109955)
This reverts commit b3aba4d9c8 because it breaks Google tests.
2022-08-21 20:18:09 +02:00
Jonah Williams 44d3181deb
[framework] remove restriction on texture layer rasterization (#109900) 2022-08-20 03:06:23 +00:00