Commit graph

19801 commits

Author SHA1 Message Date
chunhtai d0afbd72a7
Revert "Overlay always applies clip (#113770)" (#114442)
This reverts commit 103a5c98b8.
2022-11-01 12:05:01 -07:00
Justin McCandless 8a8b361770
Use hintText's TextStyle overflow (#114378)
hinText's overflow can now be set via hintStyle (in InputDecoration)
2022-11-01 10:19:45 -07:00
Zachary Anderson 210a2aa371
Revert "Add Material 3 support for BottomAppBar" (#114421) 2022-11-01 15:12:09 +00:00
Talat El Beick 0e98194681
Add Material 3 support for BottomAppBar (#106525) 2022-11-01 00:42:33 -07:00
fzyzcjy 3894a069b6
Minor code cleanup: remove redundant return (#114290) 2022-11-01 06:54:29 +00:00
Alex Li 0f1d0e39e9
🎨 Improve exceptions thrown by asset bundle (#114313) 2022-11-01 05:33:33 +00:00
Darren Austin c2edb20f3d
Added token files for badges and lists. (#114382) 2022-10-31 21:18:37 -07:00
Greg Spencer 37b72342b0
Add maybeOf for all the cases where of returns nullable. (#114120) 2022-10-31 23:09:09 +00:00
Gary Qian 7ab2bf8ff7
Delete flutter_migrate code (#114253) 2022-10-31 17:52:05 +00:00
Flutter GitHub Bot f186e1bd3e
Roll pub packages (#114363) 2022-10-31 17:37:06 +00:00
Jonah Williams 4f19a9fa46
[flutter_tools] Add support for compiling shaders to JSON bundle for web (#114295) 2022-10-31 16:52:09 +00:00
fzyzcjy c8fc2858de
Fix incorrectly named "debug" prefix (#114117) 2022-10-31 15:39:52 +00:00
chunhtai fa174b2343
SingleChildScrollView does not clip semantics child (#114194) 2022-10-28 23:00:22 +00:00
Justin McCandless 0b451b6dfd
Context Menus (#107193)
* Can show context menus anywhere in the app, not just on text.
* Unifies all desktop/mobile context menus to go through one class (ContextMenuController).
* All context menus are now just plain widgets that can be fully customized.
* Existing default context menus can be customized and reused.
2022-10-28 12:40:09 -07:00
Flutter GitHub Bot ef1236e038
Roll pub packages (#114189) 2022-10-28 19:15:08 +00:00
Qun Cheng cc435d673e
Fix Color Scheme Defaults in Material 3 (#112666) 2022-10-28 10:30:59 -07:00
xubaolin 8469896c5a
Fix DDS do not support Curves.easeInOutBack curve (#114222) 2022-10-28 17:24:58 +00:00
Kenzie Davisson cdbb1e6037
Move Widget Inspector service extensions from DevTools to Flutter (#113861) 2022-10-28 17:16:03 +00:00
Liam Appelbe ea0ddc94cc
Fix NPE in coverage collector (#114177) 2022-10-27 19:24:00 -07:00
Jenn Magder 28ab431096
Make Logger required when injected in flutter_tool (#114111) 2022-10-27 22:40:08 +00:00
chunhtai c6f6095acd
Remove RouteSetting.copyWith (#113860) 2022-10-27 22:09:05 +00:00
Jenn Magder 15e694414c
Terminate simulator app on "q" (#114114) 2022-10-27 22:06:35 +00:00
Victoria Ashworth 8aad1190b7
Check for watch companion in build settings (#114078) 2022-10-27 22:05:05 +00:00
Adel Khial cece4a5d19
Fix typo in flutter.gradle (#114143) 2022-10-27 22:05:03 +00:00
fzyzcjy d93208a60b
Fix logical error in TimePickerDialog - the RenderObject forgets to update fields (#112040) 2022-10-27 22:05:02 +00:00
Christopher Fujino d40f6d1e68
[flutter_tools] allow flutter drive to take screenshots when sent a terminating signal (#114118) 2022-10-27 18:51:15 +00:00
Alex Wallen 23d258df57
Remove deprecated updateSemantics API usage. (#113382) 2022-10-26 20:20:41 +00:00
pdblasi-google 671c532019
107866: Add support for verifying SemanticsNode ordering in widget tests (#113133) 2022-10-26 20:17:15 +00:00
Zachary Anderson e334ac1122
Revert "Update Cupertino text input padding (#113958)" (#114102)
This reverts commit 51acda81f2.
2022-10-26 12:59:05 -07:00
Mitchell Goodwin 51acda81f2
Update Cupertino text input padding (#113958)
* Update Cupertino text input padding

* Remove comment
2022-10-26 11:49:26 -07:00
nbayati 235a3252d2
Provide test API for accessibility announcements (#109661) 2022-10-26 18:05:07 +00:00
Jenn Magder 609b8f3219
Revert part of "Terminate simulator app on "q" (#113581)" (#114083) 2022-10-26 10:26:14 -07:00
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