10670 Commits

Author SHA1 Message Date
Jim Graham
697e930d5e
add noSuchMethod to _MulticastCanvas to unblock smoke testing against forthcoming new getTransform/Clip methods (#103737) 2022-05-16 13:49:10 -07:00
Dan Field
fe87538b76
Implement paintsChild on RenderObjects that skip painting on their children (#103768) 2022-05-16 11:29:07 -07:00
Chris Bracken
27c6cdb416
Roll dependendencies (#103771)
Roll dependendencies

This rolls depdendencies to latest using
flutter update-packages --force-upgrade

This change includes three code changes:

* Removes charcode from the dependencies allowlist since it no longer
  appears in the transitive closure of dependencies of the flutter,
  flutter_test, flutter_driver, flutter_localizations, and
  integration_test packages.

* Uses Resolver.create instead of the deprecated Resolver constructor.
  The default Resolver constructor has been deprecated in favour of the
  static Resolver.create() factory function, which unfortunately happens
  to be async. Propagated the async-ness up the chain.
  This change was partially reverted and the deprecation ignored in this
  patch until package:coverage can be rolled internally at Google.

* Eliminates the use of the deprecated packagesPath parameter to
  HitMap.parseJson. This parameter was deprecated and replaced with
  packagePath in https://github.com/dart-lang/coverage/pull/370 which
  was part of the overall deprecation of the .packages file in Dart
  itself https://github.com/dart-lang/sdk/issues/48272. The overall goal
  being that end-user code shouldn't need to know about implementation
  details such as whether dependency information is stored in a
  .packages file or a package_info.json file, but rather use the
  package_config package to obtain the package metadata and perform
  other functions such as resolving its dependencies to filesystem
  paths. packagesPath was replaced by packagePath, which takes the path
  to the package directory itself. Internally, package:coverage then
  uses package_config to do the rest of the package/script URI
  resolution to filesystem paths.
  This change was partially reverted and the deprecation ignored in this
  patch until package:coverage can be rolled internally at Google.

This is a pre-update prior to updating flutter_template_images in
https://github.com/flutter/flutter/pull/103739

Issue: https://github.com/flutter/flutter/issues/103371
Issue: https://github.com/flutter/flutter/issues/103775
Issue: https://github.com/flutter/flutter/issues/103830

When re-applying the partially-reverted changes to code coverage,
we'll need to patch host_entrypoint.dart internally to await the Future
that we'll be returning rather than a non-async value.
2022-05-14 16:34:10 -07:00
Dan Field
4f96419612
Make _RenderCustomClip respect clipBehavior (#103748) 2022-05-13 17:14:07 -07:00
Jason Simmons
275fb0286c
Fix avoid_redundant_argument_values analyzer warnings enabled in the latest Dart SDK (#103734)
See https://github.com/flutter/flutter/pull/103719
2022-05-13 12:57:59 -07:00
Nils Reichardt
2b2cda1529
Add blank line after first sentence of doc comment for CheckedModeBanner (#103490) 2022-05-13 08:59:12 -07:00
Danilo Rêgo
4fc15c851a
docs: update Cubic constructor doc. (#103555) 2022-05-12 16:14:08 -07:00
Bruno Leroux
190d77627d
Add Tooltip textAlign property (#103475) 2022-05-12 16:09:15 -07:00
Jami Couch
78885ecbeb
Provide default method call handler for SystemChannels.textInput (#101087) 2022-05-12 15:59:13 -07:00
chunhtai
533816d116
Refactor web text editing shortcuts (#103377) 2022-05-12 13:09:06 -07:00
Jonah Williams
496049263e
[framework] fix slider regression due to touch slop changes (#103569) 2022-05-11 23:14:11 -07:00
Michael Goderbauer
8bec125aaf
Avoid analyzing API example code twice, clean-up (#103548) 2022-05-11 21:27:45 -07:00
Tong Mu
65ea76718f
[gen_keycode, RawKeyboard] Apply derived keyboard layout from Linux (#102709) 2022-05-11 20:04:14 -07:00
LongCatIsLooong
7f12d42e2f
Accessibility troubleshooting docs for TextField widgets (#103521) 2022-05-11 14:34:09 -07:00
Andree Yosua
f5fb9e8c01
Fix ThemeData extension throws when the ThemeExtension not found (#103343) 2022-05-10 21:44:07 -07:00
xubaolin
d29ccad6fb
fix SliverReorderableList not work on Android platform bug (#103406) 2022-05-10 21:09:04 -07:00
Renzo Olivares
c411065b01
Fix selection not deselected when TextField loses focus (#103424) 2022-05-10 17:34:07 -07:00
Kate Lovett
171d8c1e85
[Reland] Assert there are Scaffolds to present to for snackbars and banners (#103426) 2022-05-10 16:24:12 -07:00
Christopher Fujino
e8c01a8aa8
[flutter_tools] pub roll (#103220)
Co-authored-by: Michael Goderbauer <goderbauer@google.com>
2022-05-10 10:26:54 -07:00
Kyosuke Takayama
8c46968c62
fix compile error in the example code (#103261) 2022-05-10 09:04:09 -07:00
Darren Austin
dfb4ff2f76
Updated tokens to v0.98. (#103360) 2022-05-09 23:15:44 -07:00
Bruno Leroux
ff136cba7f
Fix Tooltip obscured by keyboard (#103339) 2022-05-09 13:39:07 -07:00
Aman Verma
0ff0affb3a
Expose controller for PaginatedDataTable (#100005) 2022-05-09 13:34:07 -07:00
Gustav Bylund
95116386b7
Replace ListView with ListView.builder for LicensesPage (#102692) 2022-05-09 09:44:06 -07:00
Greg Spencer
6504f2896c
Adds menuBarMenuLabel, and removes unneeded key localizations (#102100)
When I added localizations for shortcut keys, I added some that actually can't be shortcut keys, so I'm removing them again. These are mostly Japanese-specific keys that don't even appear on modern keyboards for the most part.

Also, added menuBarMenuLabel for an accessibility label for menu bar menus.

I modified the code for the localization generation scripts to add a --remove-undefined flag that will remove any localizations that don't appear in the canonical locale.
2022-05-09 09:25:52 -07:00
Taha Tesser
92a59caa7f
CupertinoTabScaffold/CupertinoTabController: Add interactive examples (#103196)
* `CupertinoTabScaffold`/`CupertinoTabController`: Add interactive examples

* fix class name in the test

* Kick tests
2022-05-09 11:16:32 +02:00
xubaolin
4bed76757d
Fix a _WrappedScrollBehavior.shouldNotify bug (#103267) 2022-05-07 11:44:08 -07:00
Qun Cheng
2427d4f3d6
Added clipBehavior on TabBarView (#103166) 2022-05-07 08:44:07 -07:00
Bruno Leroux
c18097178c
Fix empty Stack with infinite constraints throws (#102642) 2022-05-07 04:34:06 -07:00
Eric egramond
ae7fcc7e51
Updating the Slider Widget to allow up and down arrow keys to navigate out of the slider when in directional NavigationMode. (#103149) 2022-05-07 03:39:06 -07:00
Taha Tesser
2f657536c8
Fix DropdownButton menu clip (#102970) 2022-05-07 02:39:08 -07:00
Taha Tesser
803f9959d8
Update Cupertino examples and add missing tests (#103128) 2022-05-07 00:29:10 -07:00
Jonah Williams
b05b44e88a
remove assert on markNeedsCompositingBitsUpdate (#103227) 2022-05-06 23:39:08 -07:00
Alexandre Ardhuin
d40ee2149c
remove unnecessary .toString() (#103226) 2022-05-06 16:04:13 -07:00
Bruno Leroux
cfc5dc2a21
Increase Tooltip font size on Desktop (#103189) 2022-05-06 12:54:09 -07:00
xubaolin
a7a72ce942
Fix a [CupertinoDatePicker] semantics bug (#103123) 2022-05-06 11:09:07 -07:00
Nils Reichardt
ac30842c82
Add blank line after first sentence of doc comment for fontFamily (#103119) 2022-05-06 10:00:41 -07:00
Taha Tesser
13d76b2959
[DropdownButton]: Fix alignmentparameter doesn't work for hint when isExpanded: true (#102752) 2022-05-05 23:34:08 -07:00
xubaolin
b20e27e77e
Does not replace the root layer unnecessarily (#101748) 2022-05-05 18:44:10 -07:00
xubaolin
82afe3ea43
Clear the cached data of RenderBox if its parent re-layout (#101493) 2022-05-05 18:39:10 -07:00
Tong Mu
55881f7ae6
Reland "Fix crash from alt-tab'ing just after startup" (#103093) 2022-05-05 17:44:08 -07:00
chunhtai
f8f438730d
Fix Backbutton is not displayed when there is a endDrawer (#102093) 2022-05-05 15:44:10 -07:00
chunhtai
7cdcfb2a88
DefaultTextEditingShortcuts should use meta-based shortcut for iOS (#103077) 2022-05-05 15:39:12 -07:00
Nils Reichardt
871846072a
Remove unnecessary space in doc comment of TextStyle (#103117) 2022-05-05 13:59:13 -07:00
Casey Hillers
603eb82734
Revert "Fix jumping when doing long press for selecting text" (#103141) 2022-05-05 12:39:09 -07:00
Kate Lovett
38fe53b6b6
Revert "Add assertion that snackbars have a place to go" (#103138) 2022-05-05 10:14:06 -07:00
Phil Quitslund
f771c9fee7
rename local functions with _s (#102991) 2022-05-05 09:49:12 -07:00
Pierre-Louis
dfa4fd237f
Add missing HIG links to cupertino documentation (#103110) 2022-05-05 12:09:01 +02:00
Bruno Leroux
750ad32870
Fix DraggableScrollableSheet leaks Ticker (#102916) 2022-05-05 01:29:07 -07:00
Taha Tesser
d80f3e3921
Cupertino examples improvements and clean up (#103044) 2022-05-05 08:22:53 +02:00