10503 Commits

Author SHA1 Message Date
Greg Spencer
a05f21ff0b
Refine the directional traversal algorithm for out of band widgets (#122556)
Refine the directional traversal algorithm for out of band widgets
2023-03-14 00:25:15 +00:00
LongCatIsLooong
1306d7f158
Fix Caret Height On Empty Lines (#120834)
* improve caret caching, fix caret for empty text/line, `getLocalRectForCaret` now reports the real rect that will be painted.
move caret x-coordinate clamping to RenderEditable since TextPainter doesn't know about clipping.

* comments

* review
2023-03-13 15:37:42 -07:00
pdblasi-google
7dd53fefe9
Reland (3): Removes single window assumptions from flutter_test (#122422)
Reland (3): Removes single window assumptions from `flutter_test`
2023-03-13 21:50:24 +00:00
Michael Goderbauer
12ef7535a8
Reland "Introduce the PipelineOwner tree (#122231)" (#122452)
Reland "Introduce the PipelineOwner tree (#122231)"
2023-03-13 17:58:56 +00:00
Pierre-Louis
598ebfbd66
Update Material tokens to 0.162 (#122388)
Update Material tokens to 0.162
2023-03-13 16:16:07 +00:00
Jonah Williams
8d4fd89c74
Revert "Reland "Speed up first asset load by using the binary-formatted asset manifest for image resolution (#121322)" (#122449)
Revert "Reland "Speed up first asset load by using the binary-formatted asset manifest for image resolution"
2023-03-11 03:30:06 +00:00
Mitchell Goodwin
e77cb1a06b
Constrain date picker to max width to avoid bending outwards (#120827)
Constrain date picker to max width to avoid bending outwards
2023-03-10 21:51:07 +00:00
Kate Lovett
7ce88694c5
Clean up scrollable.dart for 2D (#122357)
Clean up scrollable.dart for 2D
2023-03-10 21:39:45 +00:00
Jim Graham
670f9d2037
Revert "Introduce the PipelineOwner tree (#122231)" (#122425)
This reverts commit f73c358e43df7c123e6d0141b3bc822877a1855d.
2023-03-10 13:15:46 -08:00
Michael Goderbauer
f73c358e43
Introduce the PipelineOwner tree (#122231)
Introduce the PipelineOwner tree
2023-03-10 19:57:17 +00:00
Callum Moffat
e078c93bfe
SelectionChangedCause for iOS keyboard-select (#122144)
SelectionChangedCause for iOS keyboard-select
2023-03-10 19:13:28 +00:00
Casey Hillers
1f42612323
Revert PRs relating to single window assumption (#122369)
* Revert "Remove references to BindingBase.window (#122119)"

This reverts commit c7681f00cf1fb1c63bebb27d715f29feb77b78b7.

* Revert "Remove another reference to BindingBase.window (#122341)"

This reverts commit 6ec444506375cfa94535a45c2320e01094c295e0.

* Revert "Reland (2): Removes single window assumptions from `flutter_test` (#122233)"

This reverts commit eb3d317ea06e59fadc379210f5c6e685505d8e0f.

* Revert "Remove single view assumption from TestViewConfiguration (#122352)"

This reverts commit 927289fb4e5b25a71f794bc808a8c31554859a50.

* Revert "Updates `flutter/test/cupertino` to no longer use `TestWindow` (#122325)"

This reverts commit 67e17e45f05271c6c409183c1d33806683cb9e4d.

* Revert "Updates `flutter/test/gestures` to no longer reference `TestWindow` (#122327)"

This reverts commit c2a5111cc0f9bcb104982b38a1a0a9c4210b601f.

* Revert "Updates `flutter/test/rendering` to no longer use `TestWindow` (#122347)"

This reverts commit 28b65e089b3f8e8c21572cd8a73184858b6360c3.

* Revert "Updates `flutter_localizations/test` to stop using `TestWindow` (#122321)"

This reverts commit 01367d52d7886f51a8921c9dc4a8e4c541686e98.
2023-03-09 22:53:38 -08:00
Greg Price
47922979c6
Document on ScrollPhysics the requirement to override applyTo (#121850)
Document on ScrollPhysics the requirement to override applyTo
2023-03-10 01:52:34 +00:00
Hasnen Tai
c5da5070f1
Feat : TextField cursor color matching M2 and M3 Spec in error state (#119225)
According to Material specs, cursor should be red in error state.
2023-03-09 10:23:41 -08:00
pdblasi-google
eb3d317ea0
Reland (2): Removes single window assumptions from flutter_test (#122233)
Reland (2): Removes single window assumptions from `flutter_test`
2023-03-09 00:52:05 +00:00
xubaolin
c0e748fbf6
fix a scroll bar stutter bug (#121786)
Fix a scrolling stutter caused by dragging scrollbar
2023-03-09 00:18:18 +00:00
Bernardo Ferrari
a5061bf9d2
Fix GestureRecognizer allowedButtonsFilter. (#122227) 2023-03-09 00:37:22 +01:00
Callum Moffat
2e7b458793
No friction factor on macOS overscroll ease (#122143)
No friction factor on macOS overscroll ease
2023-03-08 21:34:55 +00:00
Bruno Leroux
3b4a882b61
Add one DefaultTextStyle example (#122182)
Add one DefaultTextStyle example
2023-03-08 20:40:54 +00:00
Bruno Leroux
a5ed960d0b
SystemUiOverlayStyle, add examples and improve documentation (#122187)
SystemUiOverlayStyle, add two examples and improve documentation
2023-03-08 20:31:59 +00:00
Jami Couch
2a67bf78f0
Add support for iOS UndoManager (#98294)
Add support for iOS UndoManager
2023-03-08 19:45:49 +00:00
Callum Moffat
1ab3cb9ee3
Clear _scribbleCacheKey when connection closes (#122145)
Clear _scribbleCacheKey when connection closes
2023-03-08 19:42:04 +00:00
Casey Hillers
0091601057
Revert "Reland: Removes single window assumptions from flutter_test (#122060)" (#122193)
Revert "Reland: Removes single window assumptions from `flutter_test`"
2023-03-08 19:42:03 +00:00
Chris Bobbe
23b7bbd891
ModalBottomSheetRoute: Remove gap at screen bottom with useSafeArea: true (#122118)
ModalBottomSheetRoute: Remove gap at screen bottom with `useSafeArea: true`
2023-03-08 19:42:01 +00:00
Jackson Gardner
842bc8e69b
Fix DomCSSStyleSheetExtension to work with dart2wasm. (#122154)
Fix DomCSSStyleSheetExtension to work with dart2wasm.
2023-03-08 02:13:59 +00:00
pdblasi-google
a626f4db6f
Reland: Removes single window assumptions from flutter_test (#122060)
Reland: Removes single window assumptions from `flutter_test`
2023-03-07 21:12:59 +00:00
Josh Matthews
8557ffa024
Fix PlatformMenuItems with onSelectedIntent are never enabled (#121885)
Fix PlatformMenuItems with onSelectedIntent are never enabled
2023-03-07 03:38:59 +00:00
Bruno Leroux
961df985fa
Add ZoomPageTransitionsBuilder.allowSnapshotting (#122019)
Add ZoomPageTransitionsBuilder.allowSnapshotting
2023-03-06 22:43:00 +00:00
Andrew Kolos
57c7aa53c1
Reland "Speed up first asset load by using the binary-formatted asset manifest for image resolution (#121322)
Reland "Speed up first asset load by using the binary-formatted asset manifest for image resolution
2023-03-06 20:37:43 +00:00
pdblasi-google
a53105d941
Revert "Removes single window assumptions from flutter_test (#121549)" (#122037)
This reverts commit f2dd19d5b685cc1b0ef0b487667399e343c6b8ed.
2023-03-06 11:49:40 -08:00
pdblasi-google
f2dd19d5b6
Removes single window assumptions from flutter_test (#121549)
Removes single window assumptions from `flutter_test`
2023-03-06 18:38:14 +00:00
J-P Nurmi
f873252ce6
Add missing properties to ListTileTheme.merge (#121975)
Add missing properties to `ListTileTheme.merge`
2023-03-06 18:34:08 +00:00
Taha Tesser
efcc8b768e
Fix license page title color issues (#121872) 2023-03-06 08:12:24 -08:00
Eilidh Southren
d696b05165
Bottom appbar/sheet shadow property (#121406)
* add shadowColor property

* add to bottom app bar

* add test

* update m2/m3 diffs

* reorder debug test

* finalize

* remove crswap

* update doc comments

* add m2 shadow back

* add const

* update docs

* update docs

* comment replies

* make param non-null

* indentation fix

* doc fix
2023-03-06 11:41:59 +00:00
Qun Cheng
b114654947
Add IconButton.filled, IconButton.filledTonal, IconButton.outlined (#121884) 2023-03-03 19:59:39 -08:00
Qun Cheng
d33125687b
Reland: Add visual density for menu default style (#114878) 2023-03-03 18:08:27 -08:00
Hasnen Tai
859b6ecd3d
Feat: showDatePicker - Exposed callback when user changes Date Picker Mode (#119116) 2023-03-03 15:55:04 -08:00
Xilai Zhang
9cb7a151ad
Revert "Use AnimatedSwitcher's _childNumber as Key in layoutBuilder's Stack (#121408)" (#121835)
[flutter roll] Revert "Use AnimatedSwitcher's _childNumber as Key in layoutBuilder's Stack"
2023-03-02 23:24:02 +00:00
Bruno Leroux
a4ecd3e2f1
Cleanup PageTransitionsTheme documentation and add one example (#121701)
Cleanup PageTransitionsTheme documentation and add one example
2023-03-02 20:47:53 +00:00
Qun Cheng
c7fa8e5f7d
Revert "Add visual density for menu default style (#114878)" (#121810)
This reverts commit 37be384205778c94f0d34e92499ae0766f842f8a.
2023-03-02 10:34:15 -08:00
Michael Goderbauer
92a1a8ba09
Migrate to FlutterView.gestureSettings (#121749) 2023-03-02 10:17:29 -08:00
LongCatIsLooong
e7ab3b07f8
OverlayPortal (#105335)
`OverlayPortal`
2023-03-02 17:34:01 +00:00
Hans Muller
a2814a61cb
Added identical(a,b) short circuit ... finale (#121759) 2023-03-01 19:24:18 -08:00
Qun Cheng
37be384205
Add visual density for menu default style (#114878)
Add visual density for menu default style
2023-03-01 23:01:49 +00:00
Davide Dessì
844fc5fe2d
Fix CupertinoSliverNavigationBar's alwaysShowMiddle not working properly during page transition (#120895)
Fix CupertinoSliverNavigationBar's alwaysShowMiddle not working properly during page transition
2023-03-01 20:37:41 +00:00
takashi kasai
909e29edc5
moving the left handle automatically scrolls EditableText to the right handle, which doesn't happen on native (#105836)
Fixes a scrolling issue when dragging selection handles.
2023-03-01 11:52:27 -08:00
Justin McCandless
71c70ebf36
Custom context menus in SelectableRegion on web (#121653)
contextMenuBuilder now works with SelectableRegion on web (when using BrowserContextMenu.disable).
2023-03-01 10:00:14 -08:00
chunhtai
978d9b5514
Issues/111931 reland (#121576)
* Revert "Revert "Fix text.rich to merge widget span (#113461)" (#121562)"

This reverts commit c8d80163b03f76e0cfde15567d065b6d1903cf8d.

* Fixes tag to not pollute cached semantics configuration in rendering object
2023-03-01 08:33:03 -08:00
Bruno Leroux
b66a547439
Fix _TextEditingHistoryState reentrant calls (#120889)
Fix text history undo/redo should not add a new entry to the history
2023-03-01 08:52:46 +00:00
Daniel Austin
b10f25c603
implement override of toString() in order to print useful message in release mode as well as debug mode (#118263)
Added `_ErrorDescription.toString()`
2023-03-01 01:08:52 +00:00