Fixed equipment profile tile padding

This commit is contained in:
Vadim 2023-07-13 16:02:54 +02:00
parent 520651a160
commit 32901bf163

View file

@ -71,6 +71,7 @@ class EquipmentProfileContainerState extends State<EquipmentProfileContainer>
mainAxisSize: MainAxisSize.min, mainAxisSize: MainAxisSize.min,
children: [ children: [
ListTile( ListTile(
contentPadding: const EdgeInsets.symmetric(horizontal: Dimens.paddingM),
title: Row( title: Row(
children: [ children: [
_AnimatedNameLeading(controller: _controller), _AnimatedNameLeading(controller: _controller),
@ -163,7 +164,7 @@ class _AnimatedNameLeading extends AnimatedWidget {
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
return Padding( return Padding(
padding: EdgeInsets.only(right: _progress.value * Dimens.grid24), padding: EdgeInsets.only(right: _progress.value * Dimens.grid8),
child: Icon( child: Icon(
Icons.edit, Icons.edit,
size: _progress.value * Dimens.grid24, size: _progress.value * Dimens.grid24,