make text overflow into ellipsis

This commit is contained in:
krawieck 2020-10-05 23:11:41 +02:00
parent 571f6beb61
commit 3e7b70eb66
1 changed files with 6 additions and 3 deletions

View File

@ -160,9 +160,12 @@ class HomeTab extends HookWidget {
mainAxisSize: MainAxisSize.min,
mainAxisAlignment: MainAxisAlignment.center,
children: [
Text(
Flexible(
child: Text(
title,
style: TextStyle(color: theme.textTheme.headline6.color),
overflow: TextOverflow.ellipsis,
),
),
Icon(
Icons.arrow_drop_down,