9924 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
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
hangyu
1e87fdd883
Add button semantics in list tile (#112593) 2022-09-30 12:52:08 -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
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
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
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
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
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
Jonah Williams
3a1a25339e
[framework] avoid compositing with visibility (#111844) 2022-09-20 17:28:57 +00:00