Add spacing between `MenuAnchor` and `dropdownMenuEntries` in `DropdownMenu`
Use case
I am trying to build an interface like the attached image using DropdownMenu where there is space between MenuAnchor and dropdownMenuEntries.
Proposal
Would you guys be open to accepting a pull request if i were to add an optional property called spacing to DropdownMenu and add a SizedBox to add a margin between MenuAnchor and dropdownMenuEntries? I think it would look something like below
return _DropdownMenuBody(
width: widget.width,
children: <Widget>[
textField,
SizedBox(height: spacing),
for (final Widget item in _initialMenu!) item,
trailingButton,
leadingButton,
],
);
Sounds good! Go ahead and make the PR; you can @ me in the description and I'll have a look 🙂
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.