19592 Commits

Author SHA1 Message Date
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