Commit Graph

19345 Commits

Author SHA1 Message Date
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
Yegor
e505529344 [web] define $flutterDriverResult variable early in driver test initalization (#107337) 2022-07-23 00:48:06 +00:00
Rich Kadel
549f70c914 Remove outdated Fuchsia concepts (#107335)
Fuchsia will soon remove all support for Component Framework version 1
components (recognized by component manifests ending in `.cmx`).
Notably, some of the `flutter` tool commands for Fuchsia devices--
notably, but not limited to, those related to CFv1--are outdated, and
either do not work today or soon won't work.

This PR removes the outdated components and commands, replacing some
with the newer version, or simply removing the non-working features,
in some cases.
2022-07-22 16:42:48 -07:00
Flutter GitHub Bot
94572b5d69 Roll pub packages (#107984) 2022-07-22 23:28:06 +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
Christopher Fujino
6abd3691c3 [flutter_tools] add more debugging when pub get fails (#108062) 2022-07-21 19:22:07 +00:00
Tong Mu
c8a4c8b8a7 Pointer events: Allow hover events from trackpad (#108116) 2022-07-21 17:37:04 +00:00
Jesús S Guerrero
fc3471fd28 check for pubspec instead of lib/ (#107968) 2022-07-21 17:03:09 +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
Dan Field
199cb2f5e6 Revert "Allow setting of TestWidgetsFlutterBinding.pointerEventSource (#107976)" (#108038)
This reverts commit 641f4e2403.
2022-07-20 11:14:58 -07:00
yaakovschectman
1e2be6ed54 Check for bad characters in path on Windows build (#107949)
* Check for bad characters in path on Windows build

* Doc comments

* Fix formatting

* Commenting/formatting

* Link to issue in comment

* Comments, formatting

* Global var rename
2022-07-20 14:05:13 -04:00
Sai Sandeep Mutyala
641f4e2403 Allow setting of TestWidgetsFlutterBinding.pointerEventSource (#107976) 2022-07-20 09:19:17 -07:00
Lau Ching Jun
922eea8763 Dart registrant location (#107967) 2022-07-20 08:51: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
David Iglesias
d72f08f50f [web][debug] Remove RequireJS timeouts for debug builds. (#107868) 2022-07-19 22:56:05 +00: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
Danny Tuppeny
c67d2587d5 Provide more useful error message if a non-compliant DAP tool (or user) sends bad input to DAP server (#107827) 2022-07-19 11:48:05 -07: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
Zachary Anderson
e9529e2512 [flutter_tool] Allow includes relative to shader path (#107862) 2022-07-18 18:38:32 -07:00
Christopher Fujino
1371b8dc3c [flutter_tools] Fix null check errors in attach command (#107864) 2022-07-18 23:10:06 +00:00
Alexandre Ardhuin
ccd33631e3 enable combinators_ordering (#107847) 2022-07-18 22:04:07 +00:00
Christopher Fujino
81045d4a44 Revert "Read dart_plugin_registrant path from FlutterProject to support non-standard path." (#107850) 2022-07-18 19:58:10 +00:00
Christopher Fujino
b156c0c440 [flutter_tools] migrate clean_test to null-safety (#107750) 2022-07-18 19:10: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
Christopher Fujino
4f9528293f [flutter_tools] Remove shuffle from doctor test (#107744) 2022-07-16 00:54:05 +00:00
Jesús S Guerrero
cdf5b1d40d Pub dependencies project validator (#106895) 2022-07-15 23:12:05 +00:00
Lau Ching Jun
2cfeb0d1e1 Pass device-user in machine mode (#107747) 2022-07-15 15:18:05 -07:00
Lau Ching Jun
8f834cf150 Read dart_plugin_registrant path from FlutterProject to support non-standard path. (#107617) 2022-07-15 12:33:07 -07:00
LongCatIsLooong
0d32ca2138 Allow key reparenting between slots in SlottedMultiChildRenderObjectWidgetMixin (#106977) 2022-07-15 19:08:05 +00:00
Christopher Fujino
060adf09db [flutter_tools] Migrate commands.shard/hermetic/doctor_test to null-safety and make hermetic (#107670) 2022-07-15 19:06:08 +00:00
Flutter GitHub Bot
bccbcd7dbb Roll pub packages (#107567) 2022-07-15 19:04:07 +00:00