feat(map in info): reduce the padding of attribution icon
This commit is contained in:
parent
d20a5d9796
commit
1745c07e9e
1 changed files with 4 additions and 0 deletions
|
@ -169,6 +169,8 @@ class MapAttributionWidgetState extends State<MapAttributionWidget> {
|
|||
child: popupExpanded
|
||||
? (widget.closeButton ??
|
||||
(context, close) => IconButton(
|
||||
visualDensity:
|
||||
const VisualDensity(horizontal: -2, vertical: -2),
|
||||
onPressed: close,
|
||||
icon: Icon(
|
||||
Icons.cancel_outlined,
|
||||
|
@ -182,6 +184,8 @@ class MapAttributionWidgetState extends State<MapAttributionWidget> {
|
|||
)
|
||||
: (widget.openButton ??
|
||||
(context, open) => IconButton(
|
||||
visualDensity:
|
||||
const VisualDensity(horizontal: -2, vertical: -2),
|
||||
onPressed: open,
|
||||
tooltip: 'Attributions',
|
||||
icon: Icon(
|
||||
|
|
Loading…
Add table
Reference in a new issue