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,
style: textTheme.titleMedium?.copyWith(color: textColor),
maxLines: 1,
overflow: TextOverflow.visible,
overflow: TextOverflow.ellipsis,
softWrap: false,
),
)
],
);
}

View file

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