Skip to content

Commit b0df650

Browse files
authored
Merge branch 'main' into main
2 parents 1354790 + 15562ee commit b0df650

1 file changed

Lines changed: 10 additions & 6 deletions

File tree

example/lib/presentation/menu/menu_row.dart

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -55,14 +55,18 @@ class _MenuRowState extends State<MenuRow> {
5555
const SizedBox(
5656
width: 18,
5757
),
58-
Text(
59-
widget.text,
60-
style: TextStyle(
61-
color: _showSelectedState ? AppColors.primary : Colors.white,
62-
fontSize: AppDimens.menuTextSize,
58+
Expanded(
59+
child: Text(
60+
widget.text,
61+
maxLines: 2,
62+
overflow: TextOverflow.ellipsis,
63+
style: TextStyle(
64+
color:
65+
_showSelectedState ? AppColors.primary : Colors.white,
66+
fontSize: AppDimens.menuTextSize,
67+
),
6368
),
6469
),
65-
Expanded(child: Container()),
6670
_DocumentationIcon(onTap: widget.onDocumentsTap),
6771
const SizedBox(
6872
width: 18,

0 commit comments

Comments
 (0)