textoverflow

This commit is contained in:
Vadim 2023-03-29 15:25:55 +03:00
parent b88636db15
commit 6f5eeed2e6
2 changed files with 9 additions and 6 deletions

View file

@ -77,9 +77,9 @@ class _ReadingValueBuilder extends StatelessWidget {
reading.value, reading.value,
style: textTheme.titleMedium?.copyWith(color: textColor), style: textTheme.titleMedium?.copyWith(color: textColor),
maxLines: 1, maxLines: 1,
overflow: TextOverflow.visible, overflow: TextOverflow.ellipsis,
softWrap: false, softWrap: false,
), )
], ],
); );
} }

View file

@ -73,14 +73,17 @@ class EquipmentProfileContainerState extends State<EquipmentProfileContainer>
children: [ children: [
ListTile( ListTile(
title: Row( title: Row(
mainAxisAlignment: MainAxisAlignment.start,
children: [ children: [
_AnimatedNameLeading(controller: _controller), _AnimatedNameLeading(controller: _controller),
const SizedBox(width: Dimens.grid8), const SizedBox(width: Dimens.grid8),
Text( Flexible(
child: Text(
_equipmentData.name, _equipmentData.name,
maxLines: 1, maxLines: 1,
overflow: TextOverflow.ellipsis, overflow: TextOverflow.ellipsis,
), ),
),
], ],
), ),
trailing: Row( trailing: Row(