We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1354790 + 15562ee commit b0df650Copy full SHA for b0df650
1 file changed
example/lib/presentation/menu/menu_row.dart
@@ -55,14 +55,18 @@ class _MenuRowState extends State<MenuRow> {
55
const SizedBox(
56
width: 18,
57
),
58
- Text(
59
- widget.text,
60
- style: TextStyle(
61
- color: _showSelectedState ? AppColors.primary : Colors.white,
62
- fontSize: AppDimens.menuTextSize,
+ Expanded(
+ child: Text(
+ widget.text,
+ maxLines: 2,
+ overflow: TextOverflow.ellipsis,
63
+ style: TextStyle(
64
+ color:
65
+ _showSelectedState ? AppColors.primary : Colors.white,
66
+ fontSize: AppDimens.menuTextSize,
67
+ ),
68
69
- Expanded(child: Container()),
70
_DocumentationIcon(onTap: widget.onDocumentsTap),
71
72
0 commit comments