replace row + sizedbox with padding
This commit is contained in:
parent
b82622190f
commit
acbf2089e0
|
@ -90,21 +90,17 @@ class HomeTab extends HookWidget {
|
||||||
VisualDensity(vertical: VisualDensity.minimumDensity),
|
VisualDensity(vertical: VisualDensity.minimumDensity),
|
||||||
leading: (instancesIcons.hasData &&
|
leading: (instancesIcons.hasData &&
|
||||||
instancesIcons.data[instance] != null)
|
instancesIcons.data[instance] != null)
|
||||||
? Row(
|
? Padding(
|
||||||
mainAxisAlignment: MainAxisAlignment.center,
|
padding: const EdgeInsets.only(left: 20),
|
||||||
mainAxisSize: MainAxisSize.min,
|
child: SizedBox(
|
||||||
children: [
|
width: 25,
|
||||||
SizedBox(width: 20),
|
height: 25,
|
||||||
SizedBox(
|
child: CachedNetworkImage(
|
||||||
width: 25,
|
imageUrl: instancesIcons.data[instance],
|
||||||
height: 25,
|
height: 25,
|
||||||
child: CachedNetworkImage(
|
width: 25,
|
||||||
imageUrl: instancesIcons.data[instance],
|
|
||||||
height: 25,
|
|
||||||
width: 25,
|
|
||||||
),
|
|
||||||
),
|
),
|
||||||
],
|
),
|
||||||
)
|
)
|
||||||
: SizedBox(width: 30),
|
: SizedBox(width: 30),
|
||||||
),
|
),
|
||||||
|
|
Loading…
Reference in New Issue