Commit Graph

19606 Commits

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