Callum Moffat
7b07b85d91
Add supportedDevices parameter to GestureDetector ( #107312 )
2022-07-21 20:15:05 +00:00
Callum Moffat
22f51c34c6
Scroll inertia cancel [framework] ( #106891 )
2022-07-21 20:13:05 +00:00
Tong Mu
c8a4c8b8a7
Pointer events: Allow hover events from trackpad ( #108116 )
2022-07-21 17:37:04 +00:00
Bruno Leroux
d263cfbcb5
Fix BottomNavigationBarItem tooltip defaults to label ( #107715 )
2022-07-21 04:21:05 +00:00
Bernardo Ferrari
22cb06b57f
Add OvalBorder and BoxShape.oval ( #103833 )
2022-07-20 21:29:04 +00:00
Vyacheslav Egorov
8130029374
Use persistent hash map to store _inheritedWidgets ( #107068 )
...
* Use persistent hash map to store _inheritedWidgets
Instead of using a HashMap and copying it down the tree
which leads to quadratic time and space complexity
use a persistent data structure which can amortize
the cost by sharing parts of the structure.
The data shows HAMT based PersistentHashMap to be
5-10x faster for building _inheritedWidgets and
considerably more space effecient (e.g. bringing
amount of memory allocated when constructing
_inheritedWidgets in a tree with 150 InheritedWidget
down to 70Kb from 970Kb).
PersistentHashMap is slower than HashMap for
access: 2-3x in relative terms, but in absolute
terms we are only talking about ~0.2ns slow down
per access and various app benchmarks we run have
have not revealed any significant regressions.
2022-07-19 21:45:26 -07:00
Pierre-Louis
be3802c922
Add support for fill, weight, grade, and optical size to Icon ( #106896 )
...
* wip
* update documentation
* x
* remove trailing spaces
* x
* remove useless CupertinoIconThemeData copyWith override
* add tests
* remove trailing spaces
* fix isConcrete
* x
* x
* x
* remove trailing spaces
* tweak docs
* mention that font filenames often indicate the supported axes
* add back cupertino IconThemeData copyWith
* update copyWith
2022-07-19 21:27:45 -04:00
Bruno Leroux
9bd058e949
Add useSafeArea parameter to showModalBottomSheet ( #107140 )
2022-07-19 23:48:05 +00:00
Marcel Čampa
0c40945a67
Implement CupertinoListSection and CupertinoListTile ( #78732 )
2022-07-19 18:46:30 -05:00
NikosTsesmelis
9d2f575403
Cupertino date picker fix for minDate, maxDate when using minuteInterval ( #105958 )
2022-07-19 18:37:35 -05:00
Romain Rastel
be0c37097e
Add transitionOnUserGestures to true on SnackBar for back swipe ( #106638 )
2022-07-19 18:14:55 -05:00
Tong Mu
cda8041e52
[Keyboard] Make CharacterActivator support Ctrl and Meta modifiers, and repeats ( #107195 )
2022-07-19 22:55:05 +00:00
Foong Siqi
74ac867882
Modify calculation of dense button height when text scale is large for dropdown button ( #107201 )
2022-07-20 06:42:04 +08:00
Qun Cheng
2b621e1ab7
Add SafeArea for NavigationRail ( #107605 )
...
* Added SafeArea for NavigationRail
Co-authored-by: Qun Cheng <quncheng@google.com>
2022-07-19 11:01:31 -07:00
Swain
2dc8bb18e8
Make the cursor no longer blinking when move, as same as the effect of iOS platform. ( #107221 )
2022-07-19 16:27:04 +00:00
Kate Lovett
f852c46c87
Expose padding on RawScrollbar ( #107756 )
2022-07-19 13:26:07 +00:00
Jason Simmons
21e9bc6bd3
Do not copy the old selection when applying localization to dates in InputDatePickerFormField ( #107268 )
...
Fixes https://github.com/flutter/flutter/issues/107155
2022-07-19 00:24:13 -07:00
Tong Mu
7e96d89aea
PointerEvent asserts device kinds ( #105987 )
2022-07-19 04:43:04 +00:00
Alexandre Ardhuin
ccd33631e3
enable combinators_ordering ( #107847 )
2022-07-18 22:04:07 +00:00
Markus Aksli
da3b2a2fbd
Fix Scaffold setState during locked framework due to open drawer ( #107173 )
2022-07-18 11:50:06 +00:00
LongCatIsLooong
0d32ca2138
Allow key reparenting between slots in SlottedMultiChildRenderObjectWidgetMixin ( #106977 )
2022-07-15 19:08:05 +00:00
LongCatIsLooong
d72853940f
Remove exclamation marks ( #107683 )
2022-07-15 18:52:06 +00:00
Taha Tesser
1bc787ee71
Fix dragging while the text selection toolbar is up doesn't hide toolbar ( #106878 )
...
Fixes a fidelity bug on desktop involving the selection toolbar not hiding when it should have.
2022-07-15 09:37:39 -07:00
Taha Tesser
bbec650b64
DropdownButton: Fix hint alignment when selectedItemBuilder is non-null. (#106731 )
2022-07-15 09:56:07 +00:00
Kate Lovett
2987d9e10a
Fix scrollbar margins ( #107172 )
2022-07-14 20:56:08 +00:00
Christopher Fujino
b26346f2cc
fix null safe check in RenderIndexedStack ( #107581 )
2022-07-13 22:36:05 +00:00
Jonah Williams
a02cd540f6
Revert "[framework] SliverDecoration" ( #107561 )
2022-07-13 17:38:07 +00:00
Taha Tesser
a2c2d1ad85
[PopupMenu]: Add menu ClipBehavior ( #107466 )
2022-07-12 23:21:05 +00:00
Renzo Olivares
329afbe9d8
updateEditingValueWithDeltas should fail loudly when TextRange is invalid ( #107426 )
...
* Make deltas fail loudly
* analyzer fixes
* empty
* updates
* Analyzer fixes
* Make it more obvious what kind of TextRange is failing and where
* update tests
* Add tests for concrete TextEditinDelta apply method
* trailing spaces
* address nits
* fix analyzer
Co-authored-by: Renzo Olivares <roliv@google.com>
2022-07-12 15:59:59 -07:00
Youssef Attia
cfff88b26a
Remerge "Fixed AnimatedSwitcher chain produced duplicates" after fixing issues with g3
...
This reverts commit 1d2fa285a4704678f3f813ad8c6464749292de04.
2022-07-12 13:42:04 -07:00
hangyu
b753476004
Add a snapAnimationDuration param in DraggableScrollableSheet ( #107396 )
...
* Add a snapAnimationDuration param in DraggableScrollableSheet
* snapAnimationDuration.inMilliseconds > 0
* Update draggable_scrollable_sheet.dart
2022-07-12 23:06:21 +08:00
Jonah Williams
881b27e836
[framework] SliverDecoration ( #107269 )
2022-07-12 02:23:05 +00:00
Michael Goderbauer
58e5750470
Persistent BottomSheet are not dismissible via a11y ( #107435 )
2022-07-12 01:21:04 +00:00
Darren Austin
50cde354c4
Expose the duration and curve for theme animation in MaterialApp. ( #107383 )
2022-07-11 15:11:37 -07:00
Casey Hillers
2a58bb7580
Revert "InputDecorator: Switch hint to Opacity instead of AnimatedOpacity" ( #107406 )
2022-07-11 16:23:07 +00:00
Bruno Leroux
082ad11422
Fix TabController throws build scheduled during frame error ( #105442 )
2022-07-11 02:40:07 -07:00
Dan Field
3f173357c6
Reland"Make RenderSliverGrid more accurately report overflow" ( #107329 )
2022-07-08 22:07:06 +00:00
Bruno Leroux
f614c59702
Fix showDialog throws cryptic message when context is not active ( #107323 )
2022-07-08 14:40:08 -07:00
LongCatIsLooong
c58dca2a45
Reland "Disable cursor opacity animation on macOS, make iOS cursor animation discrete ( #104335 )" ( #106893 )
2022-07-08 20:29:05 +00:00
Youssef Attia
1d2fa285a4
Revert "Fixed AnimatedSwitcher chain produced duplicates ( #106962 )" ( #107318 )
...
This reverts commit 0d3cc92d0b90cddf129eb57496b5386b54aeec10.
2022-07-08 11:15:12 -07:00
Taha Tesser
750516a173
Fix ListTile theme shape in a drawer ( #106343 )
2022-07-08 11:06:20 -07:00
Markus Aksli
255b71f192
Switch hint text to Opacity instead of AnimatedOpacity ( #107156 )
2022-07-08 10:46:33 -07:00
Dan Field
37de4960af
Remove listeners from pending images when clearing cache ( #107276 )
2022-07-08 07:52:05 +00:00
Youssef Attia
0d3cc92d0b
Fixed AnimatedSwitcher chain produced duplicates ( #106962 )
...
* Fixed AnimatedSwitcher chain produced duplicates
* Fixed issue with global keys being copied
* trailing whitespace
* removed unused dependencies
* Fixed dependency loop
2022-07-07 16:41:38 -07:00
Jonah Williams
15739345da
[framework] don't composite with a scale of 0.0 ( #106982 )
2022-07-07 23:30:05 +00:00
Daniel Chevalier
76f056ac6f
Improve pub root directory interface ( #106567 )
...
The pubRoot directory interface is being changed to promote adding and removing directories
2022-07-07 15:29:39 -04:00
Kohei Seino
41405ff0f3
Add RelativeRect.fromDirectional factory ( #107059 )
...
Add `fromDirectional` factory to `RelativeRect` for when an app needs to consider both TextDirection.ltr and TextDirection.rtl.
```
RelativeRect.fromDirectional(
textDirection: textDirection,
start: 10.0,
top: 20.0,
end: 30.0,
bottom: 40.0,
);
```
Addresses https://github.com/flutter/flutter/issues/107058 .
2022-07-07 10:18:06 -07:00
Kate Lovett
017fc6c907
Fix RawScrollbar colors ( #107177 )
2022-07-07 03:38:05 +00:00
Kate Lovett
1c4339974d
Fix disallowIndicator for RefreshIndicator ( #106831 )
2022-07-06 17:59:09 -07:00
Darren Austin
f396e289d5
Migrate Chips to Material 3 ( #107166 )
2022-07-06 13:32:44 -07:00