Commit graph

19919 commits

Author SHA1 Message Date
Lucas Britto 5d93894264
[flutter_tools] Decouple fatal-warnings check from fatal-infos (#113748) 2022-10-26 16:44:25 +00:00
Marcel Čampa d988c11a87
Expose alwaysShowMiddle in CupertinoSliverNavigationBar (#113544)
* SLFLF-5: Expose `alwaysShowMiddle` in `CupertinoSliverNavigationBar`

* SLFLF-5: Remove space in docstring

* SLFLF-5: Add test and update documentation

* SLFLF-5: Remove trailing whitespace (again)
2022-10-26 09:28:44 -07:00
Jackson Gardner cb534057e7
Don't specify libraries-spec argument if we are passing a platform dill. (#114045) 2022-10-26 16:05:08 +00:00
hangyu e739ad0782
M3 Text field UI update (#113776)
* text field update

* update tests

* lint

* polish template
2022-10-26 16:32:58 +08:00
M. Javad Pourqavam d5c53b82e9
Fix text field label animation duration and curve (#105966) 2022-10-25 17:08:21 -07:00
fzyzcjy e39fa7a836
Fix wasted memory caused by debug fields - 16 bytes per object (when adding that should-be-removed field crosses double-word alignment) (#113927) 2022-10-25 23:31:14 +00:00
kye shimizu b816801abd
fix to add both flutter_test and integration_test (#109650) 2022-10-25 23:29:54 +00:00
Greg Spencer 8c3806f817
Add parentNode to FocusScope widget (#114034) 2022-10-25 22:31:05 +00:00
Qun Cheng 3ce88d3813
Replace menu defaults with tokens (#113963) 2022-10-25 14:46:34 -07:00
youssef ali a30d816aaa
fix stretch effect with rtl support (#113214) 2022-10-25 16:09:09 -05:00
Tomasz Gucio e76f88316a
Cache TextPainter plain text value to improve performance (#109841) 2022-10-25 22:51:35 +02:00
Taha Tesser df259c5881
Add clipBehavior and apply borderRadius to DataTable's Material (#113205) 2022-10-25 20:38:11 +00:00
Jenn Magder 9f5c6553bc
Revert "Check for watch companion in build settings (#113956)" (#114035)
This reverts commit e13372188f.
2022-10-25 13:33:35 -07:00
Victoria Ashworth e13372188f
Check for watch companion in build settings (#113956) 2022-10-25 20:08:19 +00:00
Jason Simmons ae143ad8d1
Hide debug logs from a MemoryAllocations test that intentionally throws an exception (#113786) 2022-10-25 19:53:54 +00:00
Alex Wallen 92d8b04bac
[macOS] Flavors project throws no flavor specified for creating a project. (#113979) 2022-10-25 19:50:50 +00:00
Gary Qian b373be8891
Upgrade gradle for flutter tool to 7.3.0 (#114023) 2022-10-25 19:49:51 +00:00
Greg Spencer dbbef15a53
Add Focus.parentNode to allow controlling the shape of the Focus tree. (#113655) 2022-10-25 19:32:30 +00:00
Tomasz Gucio 563e0a4aae
Page Up / Page Down in text fields (#107602) 2022-10-25 16:54:10 +00:00
陈昱 b375b4ac87
Fix an issue that Dragging the iOS text selection handles is jumpy and iOS text selection update incorrectly. (#109136)
Better text selection handle dragging experience on iOS.
2022-10-25 08:58:53 -07:00
Danny Tuppeny 3599b3a877
Add support for expression compilation when debugging integration tests (#113481)
Fixes #79439.
2022-10-25 15:34:22 +01:00
Taha Tesser 7f75d24164
Add Material 3 ProgressIndicator examples (#113950) 2022-10-25 07:27:08 +00:00
Taha Tesser b0e7c9c4f0
Move AnimatedIcons example and fix typo in cupertino/text_selection_toolbar.dart (#113937) 2022-10-25 07:27:06 +00:00
Taha Tesser 400136b007
Fix Slider overlay and value indicator interactive behavior on desktop. (#113543) 2022-10-25 07:25:16 +00:00
xubaolin 6154b3b4bd
Improve Scrollbar drag behavior (#112434) 2022-10-24 23:45:04 +00:00
Kate Lovett 806fb93c21
Fix ScrollPosition.isScrollingNotifier.value for pointer scrolling (#113972) 2022-10-24 23:03:50 +00:00
Darren Austin 884f4d0582
Updated the Material Design tokens used to generate component defaults to v0.137. (#113970) 2022-10-24 15:53:03 -07:00
Liam Appelbe 0c14308404
Add branch coverage to flutter test (#113802) 2022-10-24 14:31:17 -07:00
Greg Spencer 5259e1bc6d
Add --empty to the flutter create command (#113873) 2022-10-24 21:20:03 +00:00
Renzo Olivares 3c2f500b1b
Fix edge scrolling on platforms that select word by word on long press move (#113128) 2022-10-24 21:14:54 +00:00
Mouad Debbar 2dd87fbdf2
Fix --local-engine for the new web/wasm mode (#113759) 2022-10-24 20:43:09 +00:00
Justin McCandless b571abfbfd
Scribble mixin (#104128)
Refactors methods related to the iPad Scribble feature out of TextInputClient
2022-10-24 12:46:43 -07:00
Taha Tesser b4058b95f5
Update Popup Menu to support Material 3 (#103606) 2022-10-24 12:15:18 -07:00
Renzo Olivares 29397c2c7d
Fix selectWordsInRange when last word is located before the first word (#113224) 2022-10-24 17:53:48 +00:00
Jonah Williams a7fe53656c
[framework] re-rasterize when window size or insets changes (#113647) 2022-10-24 17:09:10 +00:00
Pierre-Louis 15a4b009cb
Use correct semantics for toggle buttons (#113851)
* Use correct semantics for toggle buttons

* x
2022-10-24 08:48:37 -07:00
J-P Nurmi 28e0f089a2
Reland "[text_input] introduce TextInputControl" (#113758) 2022-10-24 07:23:32 -07:00
Justin McCandless 4c6251a800
Add fontFamilyFallback to ThemeData (#112976)
Add missing parameters to ThemeData (fontFamilyFallback and package)
2022-10-21 16:29:07 -07:00
Gary Qian 70c1f262ea
Avoid creating map literal in flutter.gradle multidex check (#113845) 2022-10-21 20:08:07 +00:00
Flutter GitHub Bot 1ebe53c209
Roll pub packages (#113799) 2022-10-21 16:38:18 +00:00
David Iglesias 883469229e
[web] Use TrustedTypes in flutter.js and other tools (#112969) 2022-10-21 16:03:51 +00:00
Flutter GitHub Bot 37af038303
Roll pub packages (#113574) 2022-10-20 21:39:12 +00:00
Chris Yang 7caaac20ce
link "iOS PlatformView BackdropFilter design doc" in the BackdropFilter widget's documentation (#113779) 2022-10-20 20:51:15 +00:00
chunhtai 103a5c98b8
Overlay always applies clip (#113770) 2022-10-20 18:54:52 +00:00
Christopher Fujino 483e1d9a6f
Validate bins on path in doctor (#113106) 2022-10-20 18:02:10 +00:00
Justin McCandless 2668f90d1f
Composing text shouldn't be part of undo/redo (#108765)
Fixes undo/redo behavior when using a composing keyboard, especially on desktop.
2022-10-20 10:05:36 -07:00
Christopher Fujino e4b9796790
[flutter_tools] Implement NotifyingLogger.supportsColor (#113635) 2022-10-20 15:43:49 +00:00
Brandon DeRosier 637e5bce66
[Impeller] Build Impeller iOS runtime stage shaders when Impeller is enabled (#113689) 2022-10-20 02:14:43 -07:00
Jenn Magder 49405135d7
Update macOS gallery display name (#113658) 2022-10-20 03:23:12 +00:00
Zachary Anderson 9064bf674b
Revert "[text_input] introduce TextInputControl (#76072)" (#113724)
This reverts commit 2fdfa29e08.
2022-10-19 15:00:00 -07:00
Justin McCandless a832a72036
Handle privatecommand messages that pass no data (#112590)
Fixes an error in some text editors.
2022-10-19 10:30:23 -07:00
Taha Tesser 8815f60a5a
Add AnimatedIcons previews and examples (#113700) 2022-10-19 17:12:19 +00:00
Oleg abfaec6811
Use ScrollbarTheme instead Theme for Scrollbar (#113237) 2022-10-19 07:13:17 +00:00
Alex Li 3d94b8fd1d
[tool] Install the corresponding APK in flutter run (#113622) 2022-10-19 02:44:30 +00:00
Jenn Magder 4d28e6d064
Terminate simulator app on "q" (#113581) 2022-10-18 22:26:16 +00:00
Greg Spencer 6d67fbb92c
Add HitTestBehavior to TapRegion (#113634) 2022-10-18 20:12:57 +00:00
Jenn Magder b084249184
Remove Swift plugin Objective-C files (#113585) 2022-10-18 18:41:08 +00:00
Jesús S Guerrero eea60f86f1
Dependency injection Attach command (#113227) 2022-10-18 17:30:01 +00:00
Greg Spencer 9995e370bf
Fix StarBorder operator== (#113588) 2022-10-18 17:25:04 +00:00
godofredoc 4fa91c949a
Revert "[tool] ️ Install the corresponding APK in flutter run (#112768)" (#113614)
This reverts commit 0ad71e8727.
2022-10-18 10:04:49 -07:00
Alex Li 0ad71e8727
[tool] ️ Install the corresponding APK in flutter run (#112768) 2022-10-18 02:06:30 +00:00
Flutter GitHub Bot d20129b64a
Roll pub packages (#113331) 2022-10-17 22:03:08 +00:00
Tzvi Melamed 5d078badb9
[Docs] Clarify that Flex does not wrap (#113404) 2022-10-17 17:07:05 -04:00
Greg Spencer 1b4800c9ea
Add support for Alt to CharacterActivator, add tests (#113466) 2022-10-17 20:46:28 +00:00
Renzo Olivares 4abe6fdafa
Reland "Single tap on the previous selection should toggle the toolbar on iOS #108913" (#111995) 2022-10-17 20:07:21 +00:00
LongCatIsLooong 57e577a5d6
Clean up _updateSelectionRects (#113425) 2022-10-17 19:47:37 +00:00
Masayuki Ono (mono) c84897c657
Fix typo of PrimaryScrollController documentation (#113361) 2022-10-17 18:54:25 +00:00
Jenn Magder f059dd40ea
Show Xcode compilation errors at end of build, suppress stdout and stderr from Xcode (#113302) 2022-10-17 17:47:25 +00:00
Jason Simmons f02cfd48df
Support the --no-devtools flag in "flutter run --machine" (#113414) 2022-10-17 16:44:15 +00:00
luckysmg 5a7224d14a
Fix bar height changes when toggle keyboard (#106542) 2022-10-17 04:25:57 +00:00
Darren Austin 789d668ed7
Added statesController to the button icon constructors. (#113419) 2022-10-17 04:24:06 +00:00
Alex Sandri e93297b9d6
fix overflow error in CupertinoListTile (#113010) 2022-10-17 04:22:18 +00:00
Renzo Olivares 300181b38c
Make TextEditingDelta diagnosticable and override debugFillProperties for concrete TextEditingDelta implementations (#113395) 2022-10-17 04:18:29 +00:00
joshualitt 8875040c98
[web] Migrate selectable_region to static interop. (#113292) 2022-10-14 09:51:48 -07:00
Xilai Zhang 8d3c7e7da6
Revert "AutomatedTestWidgetsFlutterBinding.pump provides wrong pump time stamp, probably because of forgetting the precision" (#113415) 2022-10-14 15:29:07 +00:00
Lau Ching Jun 24aa26a36d
Handle null exception case in ProxiedDevice.stopApp. (#113317) 2022-10-14 15:27:06 +00:00
Bruno Leroux a1912b0357
Document that TooltipTriggerMode has no impact on hovering (#113324) 2022-10-13 20:19:05 +00:00
Gregor Weber 274435dd94
make ModalBottomSheetRoute public (#108112) 2022-10-13 18:00:23 +00:00
fzyzcjy 50b1960a3a
Change type in ImplicitlyAnimatedWidget to remove type cast to improve performance and style (#111849) 2022-10-13 17:57:13 +00:00
chunhtai b68c69aa2e
pushnamed can handle Object as type (#113242) 2022-10-13 17:52:24 +00:00
Lau Ching Jun 34995ba96e
Make AndroidApk nullable in stopApp. (#113353) 2022-10-13 17:03:57 +00:00
Jenn Magder 61ac000d65
Enable impeller flags for iOS simulator (#113350) 2022-10-12 20:37:06 +00:00
Jenn Magder 2f03dda55e
Fix Android Studio version string nullablity, fake AndroidStudio in test (#113295) 2022-10-12 18:32:55 +00:00
Lau Ching Jun 944a4c9714
Write crash report in temp directory if writing to CWD failed. (#113316) 2022-10-12 17:13:24 +00:00
Qun Cheng 91d88336dd
Added Switch Animation for Material 3 (#113090) 2022-10-12 11:02:08 -04:00
Jenn Magder 8c8bb22222
BufferLogger should log stacktrace (#113240) 2022-10-11 20:14:18 +00:00
hangyu 4fed6aaeff
Support Material 3 in bottom sheet (#112466) 2022-10-11 09:55:26 +00:00
Jenn Magder 117407b0fa
Revert "Minor change type nullability (#112778)" (#113246)
This reverts commit 21fab6f960.
2022-10-10 17:57:56 -07:00
fzyzcjy 21fab6f960
Minor change type nullability (#112778) 2022-10-10 23:12:29 +00:00
Jonah Williams 4be0cfcb3f
[framework] add ignores for platformDispatcher deprecation (#113238) 2022-10-10 22:38:06 +00:00
chunhtai 492bfddd9f
Fix selection area causes small scrollables to bounce (#112816) 2022-10-10 19:57:02 +00:00
Gary Qian 864c406b5f
Scramble order of operations of flutter.gradle (#111747) 2022-10-10 19:55:08 +00:00
fzyzcjy 1966aaf8ba
AutomatedTestWidgetsFlutterBinding.pump provides wrong pump time stamp, probably because of forgetting the precision (#112609) 2022-10-10 18:32:25 +00:00
Greg Spencer 1730662bc0
Deprecate AnimatedListItemBuilder and AnimatedListRemovedItemBuilder (#113131) 2022-10-10 17:58:10 +00:00
Brett Morgan c0f48ba6bf
Fix for Issue #112983 (#112985) 2022-10-09 05:27:38 +11:00
Greg Spencer 7523ab5cc1
Add SliverAnimatedGrid and AnimatedGrid (#112982) 2022-10-07 22:15:11 +00:00
Greg Spencer 6b32c0691b
Add checkbox and radio menu buttons (#112821) 2022-10-07 21:13:36 +00:00
Bruno Leroux 91b5079f8e
Fix TabBar with padding is not centered (#113091) 2022-10-07 13:14:25 -07:00
Greg Spencer 41a13a3a90
Add SliverGrid.builder constructor (#113116) 2022-10-07 19:49:12 +00:00
MrBirb 79b8cf763b
Typo in border_test.dart (#113046) 2022-10-07 18:46:19 +00:00
xubaolin 9bd6ff33ef
fix a CupertinoDatePicker bug (#112697) 2022-10-07 18:35:15 +00:00
Harry Terkelsen 529184bcca
[flutter_tool] Don't download CanvasKit if it's already in flutter_web_sdk (#113072) 2022-10-07 10:28:49 -07:00
Andrew Kolos eec8d9d9cc
Add asset manifest parsing benchmark (#112836) 2022-10-07 13:39:35 +00:00
LongCatIsLooong 5d4f24026b
Add error message when lerping between TextStyles different inherit values (#112837) 2022-10-07 01:07:15 +00:00
Callum Moffat af2d5bc5ca
Send text selection rects to engine on iPhone (#113048) 2022-10-06 23:08:06 +00:00
Flutter GitHub Bot 00f36b6466
Roll pub packages (#113067) 2022-10-06 23:06:33 +00:00
alanwutang11 7462c4a61d
shader warm up with canvaskit and corresponding test (#113060) 2022-10-06 23:03:14 +00:00
Flutter GitHub Bot a454c6d03b
Roll pub packages (#112986) 2022-10-06 21:18:08 +00:00
Zachary Anderson 1587ee0123
Revert "Upgrade targetSdkVersion and compileSdkVersion to 33 (#112936)" (#113064)
This reverts commit f80411d893.
2022-10-06 13:52:31 -07:00
Gary Qian f80411d893
Upgrade targetSdkVersion and compileSdkVersion to 33 (#112936) 2022-10-06 20:11:28 +00:00
Ari Weiland 11771b2d61
Remove NavigationToolbar condition that leading widget cannot be larger than 1/3 the total space available. (#112548) 2022-10-06 19:50:18 +00:00
Jonah Williams c0129046c2
[framework] load files through ImmutableBuffer.fromFilePath (if exact file type) (#112892)
Update FileImage to use the new ImmutableBuffer.fromFilePath constructor to avoid loading bytes through the Dart heap. As a side effect, tis fixes #112881 which prevents dart:io from opening a file larger than INT_MAX bytes on windows.

For files that are not exactly a dart:io file, we still use the old method of calling loadBytes() in order to not make this a breaking change.
2022-10-06 10:59:16 -07:00
MrBirb 049ea561aa
typo (#113043) 2022-10-06 17:56:47 +00:00
Jia Hao db35611ece
Schedule tasks which are futures to completion (#112269) 2022-10-06 15:23:53 +00:00
Hardeep Singh 5de0918808
feat: Add keyboardType in CupertinoSearchTextField (#83994) 2022-10-06 11:43:40 +02:00
Taha Tesser ad2005c485
Add overlay MaterialStateProperty property to Slider (#112922) 2022-10-06 07:44:30 +00:00
Jenn Magder 7dd65c16c2
Add bitcode deprecation note for add-to-app iOS developers (#112900) 2022-10-06 02:51:23 +00:00
Justin McCandless d440ee8224
Consider Scrollable location in text selection drag events (#102992)
Fixes scrolling by dragging a selection when the field is in a Scrollable.
2022-10-05 16:27:48 -07:00
Jason Simmons 57cd3252b1
When updating packages, do not delete the simulated SDK directory until all pub invocations have finished (#112975) 2022-10-05 21:54:31 +00:00
Christopher Fujino 559d524ec1
improve debugging when dart pub get call fails (#112968) 2022-10-05 21:53:06 +00:00
Callum Moffat 850f3b37d4
Add PointerScaleEvent and use in InteractiveViewer (#112172)
Enables pinch-to-zoom in InteractiveViewer on web via PointerScaleEvent.
2022-10-05 13:23:46 -07:00
Jenn Magder b82cf76ff6
Return void from project migrate() (#112897) 2022-10-05 20:22:56 +00:00
gaaclarke 69fc4fb622
Switched Element.renderObject to iterative implementation. (#112885) 2022-10-05 17:49:24 +00:00
fzyzcjy c7b40a5270
Export elapseBlocking to test binding, so slow sync work can be simulated such as a slow widget build (#112619) 2022-10-05 16:35:58 +00:00
stuartmorgan 5c381254e3
Wait for non-empty layout in platform view placeholder (#112402) 2022-10-05 12:58:20 +00:00
Eilidh Southren 4862a84bd5
Add width property to SnackBarThemeData (#112636)
* Adding snackbar theme data width field

* Whitespace formatting

* Update docstrings

* version update

* tidy up

* Revert auto text formatting

* Text formatting

* Remove whitespace

* Test tidy

* Whitespace fix

* y Please enter the commit message for your changes. Lines starting

* whitespace

* test fixes

* de-British-ification

* comment modification
2022-10-05 12:09:19 +01:00
Ian Hickson ba7cbea406
Fix outdated comment about overflow (#112595) 2022-10-05 07:39:09 +00:00
J-P Nurmi 2fdfa29e08
[text_input] introduce TextInputControl (#76072)
Allows the creation of virtual in-app keyboards written in Flutter.  Especially useful for embedded environments.
2022-10-04 15:23:12 -07:00
joshualitt 07c5ebca78
[web] Fix kIsWeb for Dart2wasm. (#112122) 2022-10-04 10:57:46 -07:00
林军华 8e30cc9c56
Revert file naming convention of .aar files to support fuzzy matching in build.gradle (#112149) 2022-10-04 03:37:22 +00:00
Jenn Magder 35afe1bdac
Stop embedding bitcode for iOS in tool (#112831) 2022-10-04 01:41:23 +00:00
Jenn Magder 8c0aa6c66c
Turn off bitcode in existing iOS Xcode projects (#112828) 2022-10-04 01:15:24 +00:00
Taha Tesser 6432742036
Update AnimatedSlide example (#112803) 2022-10-03 18:44:13 +00:00
DattatreyaReddy Panta 3f22a079c4
Added ShapeBorder to expansionTile (#112218) 2022-10-03 17:50:46 +00:00
Gary Qian 21861423f2
[flutter_tools] analyze --suggestions --machine command (#112217) 2022-10-03 17:40:58 +00:00
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