Commit Graph

10959 Commits

Author SHA1 Message Date
J-P Nurmi
fbb3036b73 FloatingActionButton: add themeable mouse cursor (#103473) 2022-07-27 17:16:05 +00:00
Zachary Anderson
d6cd6b7095 Use FragmentProgram.fromAssetAsync (#108415) 2022-07-27 06:04:05 +00:00
xubaolin
09b6672e77 Do not crash when remove SelectableText during handle drag (#108369) 2022-07-27 05:22:05 +00:00
Tomasz Gucio
16c25caa44 Add RenderRepaintBoundary.toImageSync() method (#108280) 2022-07-27 05:17:04 +00:00
Darren Austin
4c104effe1 Removed references to deprecated styleFrom parameters. (#108401) 2022-07-27 03:32:05 +00:00
Jonah Williams
7e683c023a [flutter_tools] add tool support for shader hot reload (#107963) 2022-07-27 03:31:06 +00:00
nbayati
b5a36f03c6 Modify dataMap to include assertiveness only if it's not set to polite (#108396)
* Modify dataMap to include assertiveness only if it's not set to polite to prevent google3 tests from breaking

* small code style enhancement
2022-07-26 17:12:45 -07:00
Dan Field
201be6bdf5 Update docs on ChangeNotifier.dispose and KeepAliveHandle.release (#108384) 2022-07-26 22:09:05 +00:00
Polina Cherkasova
fe16c206ea Dispose KeepAliveHandle. (#108227) 2022-07-26 11:25:59 -07:00
Polina Cherkasova
e05ae3cac7 Dispose widgets to stop leaks. (#108193) 2022-07-26 10:43:46 -07:00
Polina Cherkasova
dc13fd56a1 Update editable.dart (#108233) 2022-07-26 10:43:20 -07:00
Polina Cherkasova
87938cec44 Dispose _TextSpanEditingController. (#108228) 2022-07-26 10:42:16 -07:00
Polina Cherkasova
527ee1d728 Dispose scaffold drawers. (#108234) 2022-07-26 16:40:04 +00:00
Tong Mu
4056d3ffde Explain the "patching" protocol in KeyMessageManager.keyMessageHandler and add an example (#105280) 2022-07-26 05:42:05 +00:00
Qun Cheng
606954d116 Added iconSize parameter in ButtonStyle (#108268)
* Added iconSize parameter in ButtonStyle

Co-authored-by: Qun Cheng <quncheng@google.com>
2022-07-25 14:37:56 -07:00
hangyu
e74b9b5bef Migrate InputDecorator to Material 3 (#107943)
* Support material 3 in inputDecorator

* Format polish

* format polish

* update input_decorator_test

* revert pub

* style update

* style polish

* default before base

* resolve comments

* Update text_field.2.dart

* move text styles into M2 theme

* add error style

* fix typo

* resolve comments

* fix g3 test
2022-07-26 01:35:38 +08:00
Michael Goderbauer
8a7b35933c flutter update-packages --force-upgrade + analyzer fix (#108198) 2022-07-25 10:10:31 -07:00
Casey Hillers
178e444730 Revert "Add optional flag to determine assertiveness level in aria announcement for flutter web" (#108262) 2022-07-25 17:01:05 +00:00
Casey Rogers
72163a8919 Fixes issue with sheet reset on rebuild (#107876) 2022-07-25 15:03:09 +00:00
nbayati
74ea7132be Add optional flag to determine assertiveness level in aria announcement for flutter web (#107568) 2022-07-23 00:49:04 +00:00
Pedro Massango
4fd27eb605 fix GestureDetector.onDoubleTapDown not getting called (#108056) 2022-07-22 21:48:04 +00:00
Callum Moffat
5bd3de7c70 Allow trackpad inertia cancel events (#108190) 2022-07-22 20:47:05 +00:00
Jonah Williams
9ae37030ae Use toPictureSync for faster zoom page transition (#106621) 2022-07-22 15:58:04 +00:00
Zachary Anderson
dd20919ad6 [flutter_tool] Build shaders as .iplr and use FragmentProgram.fromAsset for ink_sparkle (#108071) 2022-07-21 20:50:08 -07:00
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
Boluwatifẹ
b6afa9276d Error in docs: CustomPaint instead of CustomPainter (#107836) 2022-07-19 18:28:05 +00: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
Valentin Vignal
3eee64047a 📝 Use Icon() in IconButton.color documentation (#107819) 2022-07-19 08:55:35 -07: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