mirror of
https://github.com/flutter/samples.git
synced 2026-04-28 10:36:37 +00:00
Don't overflow cards text (#261)
This commit is contained in:
@@ -771,13 +771,13 @@ class _CarouselCard extends StatelessWidget {
|
|||||||
title,
|
title,
|
||||||
style: textTheme.caption.apply(color: textColor),
|
style: textTheme.caption.apply(color: textColor),
|
||||||
maxLines: 3,
|
maxLines: 3,
|
||||||
overflow: TextOverflow.ellipsis,
|
overflow: TextOverflow.visible,
|
||||||
),
|
),
|
||||||
Text(
|
Text(
|
||||||
subtitle,
|
subtitle,
|
||||||
style: textTheme.overline.apply(color: textColor),
|
style: textTheme.overline.apply(color: textColor),
|
||||||
maxLines: 5,
|
maxLines: 5,
|
||||||
overflow: TextOverflow.ellipsis,
|
overflow: TextOverflow.visible,
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user