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
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
Flutter GitHub Bot
f16fe11ecf
Roll pub packages ( #112021 )
2022-09-22 20:23:42 +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
Flutter GitHub Bot
d5946021e5
Roll pub packages ( #112004 )
2022-09-20 22:07:57 +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
Flutter GitHub Bot
8b36f4fb07
Roll pub packages ( #111989 )
2022-09-20 19:17:20 +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