11251 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
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
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
gaaclarke
69fc4fb622
Switched Element.renderObject to iterative implementation. (#112885) 2022-10-05 17:49:24 +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
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
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
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
xubaolin
5c522996be
fix some DSS bugs (#112142) 2022-09-29 05:04:19 +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
Jonah Williams
4119210e73
[framework] use Visibility instead of Opacity (#112191) 2022-09-27 19:58:31 +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
chunhtai
50cd73775f
Expose text boundary combiner class (#112085) 2022-09-26 21:45:53 +00:00
Taha Tesser
1d5f455c4c
Add support for Material 3 Divider and VerticalDivider (#112378) 2022-09-26 20:36:09 +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
Callum Moffat
aee6af7b45
ui.PointerSignalKind forwards compatibility for scale (#112170) 2022-09-22 17:44:05 +00:00