flutter/packages
Bruno Leroux 4b0c8414fc
Make popup menu hardcoded padding configurable (#150506)
## Description

This PR exposed `PopupMenuButton.menuPadding` parameter to override the hardcoded value.

Credits to @Moluram for the original PR https://github.com/flutter/flutter/pull/81996.
And to @arafaysaleem for the update in https://github.com/flutter/flutter/pull/96657.

https://github.com/flutter/flutter/pull/96657 was reverted due to a Google testing failure. `PopupMenuButton` implementation has evolved since that time so maybe we will not hit this Google testing failure. And if we do, we will try to figure out what is going on.

## Related Issue

Fixes https://github.com/flutter/flutter/issues/143512.
Fixes https://github.com/flutter/flutter/issues/57110

## Tests

Adds 2 tests, updates several tests.
2024-06-20 19:18:21 +00:00
..
flutter Make popup menu hardcoded padding configurable (#150506) 2024-06-20 19:18:21 +00:00
flutter_driver Update old wiki links (#149544) 2024-06-17 17:26:08 +00:00
flutter_goldens Update old wiki links (#149544) 2024-06-17 17:26:08 +00:00
flutter_localizations Update old wiki links (#149544) 2024-06-17 17:26:08 +00:00
flutter_test Update matchesGoldenFile documentation reference to goldenFileComparator (#150343) 2024-06-17 22:00:12 +00:00
flutter_tools [flutter_tools] un-hide the --dds flag (#150280) 2024-06-20 18:25:10 +00:00
flutter_web_plugins Roll pub packages (#150267) 2024-06-14 18:19:41 +00:00
fuchsia_remote_debug_protocol Roll pub packages (#150267) 2024-06-14 18:19:41 +00:00
integration_test Remove duplicate testOutputsDirectory definition from integration_test package (#150224) 2024-06-18 22:11:05 +00:00
analysis_options.yaml Update old wiki links (#149544) 2024-06-17 17:26:08 +00:00