Mobile Client: Fix overflows

This commit is contained in:
Arthi-chaud
2022-02-09 15:16:33 +01:00
parent dbbefa80b4
commit 91b70d7dca
@@ -10,19 +10,22 @@ class AerisPopupMenuItem extends PopupMenuItem {
required Object? value,
bool enabled = true})
: super(
key: key,
value: value,
enabled: enabled,
child: Wrap(
children: <Widget>[
Container(
child: Icon(
icon,
color: Theme.of(context).colorScheme.onSurface,
key: key,
value: value,
enabled: enabled,
child: Row(
children: <Widget>[
Expanded(
flex: 2,
child: Container(
child: Icon(
icon,
color: Theme.of(context).colorScheme.onSurface,
),
padding: const EdgeInsets.only(left: 10, right: 25)),
),
padding: const EdgeInsets.only(left: 10, right: 10)),
Text(title),
],
),
);
Expanded(flex: 8, child: Text(title)),
],
),
);
}