make text overflow into ellipsis
This commit is contained in:
parent
571f6beb61
commit
3e7b70eb66
|
@ -160,9 +160,12 @@ class HomeTab extends HookWidget {
|
||||||
mainAxisSize: MainAxisSize.min,
|
mainAxisSize: MainAxisSize.min,
|
||||||
mainAxisAlignment: MainAxisAlignment.center,
|
mainAxisAlignment: MainAxisAlignment.center,
|
||||||
children: [
|
children: [
|
||||||
Text(
|
Flexible(
|
||||||
|
child: Text(
|
||||||
title,
|
title,
|
||||||
style: TextStyle(color: theme.textTheme.headline6.color),
|
style: TextStyle(color: theme.textTheme.headline6.color),
|
||||||
|
overflow: TextOverflow.ellipsis,
|
||||||
|
),
|
||||||
),
|
),
|
||||||
Icon(
|
Icon(
|
||||||
Icons.arrow_drop_down,
|
Icons.arrow_drop_down,
|
||||||
|
|
Loading…
Reference in New Issue