layout fixes
This commit is contained in:
parent
7607fe68e2
commit
c3dca76690
@ -62,10 +62,16 @@ class _MountWidgetState extends State<MountWidget> {
|
|||||||
style: TextStyle(color: textColor, fontWeight: FontWeight.bold),
|
style: TextStyle(color: textColor, fontWeight: FontWeight.bold),
|
||||||
),
|
),
|
||||||
trailing: Row(
|
trailing: Row(
|
||||||
|
mainAxisAlignment: MainAxisAlignment.end,
|
||||||
|
mainAxisSize: MainAxisSize.min,
|
||||||
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
children: [
|
children: [
|
||||||
if (mount.mounted != null && !mount.mounted!)
|
if (mount.path.isNotEmpty &&
|
||||||
|
mount.mounted != null &&
|
||||||
|
!mount.mounted!)
|
||||||
IconButton(
|
IconButton(
|
||||||
icon: Icon(Icons.clear),
|
icon: Icon(Icons.clear),
|
||||||
|
color: subTextColor,
|
||||||
onPressed: () => mount.clearMountLocation(),
|
onPressed: () => mount.clearMountLocation(),
|
||||||
),
|
),
|
||||||
IconButton(
|
IconButton(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user