diff --git a/example/lib/pages/home_page.dart b/example/lib/pages/home_page.dart index 2821259..8932410 100644 --- a/example/lib/pages/home_page.dart +++ b/example/lib/pages/home_page.dart @@ -50,27 +50,31 @@ class _MyHomePageState extends State { ), ), const SizedBox(width: 10), - Column( - mainAxisAlignment: MainAxisAlignment.spaceEvenly, - crossAxisAlignment: CrossAxisAlignment.start, - children: [ - Semantics( - sortKey: const OrdinalSortKey(0), - child: Text( - context.l10n.appTitle, - style: Theme.of(context).textTheme.titleLarge, + Flexible( + child: Column( + mainAxisAlignment: MainAxisAlignment.spaceEvenly, + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + Semantics( + sortKey: const OrdinalSortKey(0), + child: Text( + context.l10n.appTitle, + style: Theme.of(context).textTheme.titleLarge, + overflow: TextOverflow.fade, + maxLines: 1, + ), ), - ), - Semantics( - sortKey: const OrdinalSortKey(0.1), - child: Text( - context.l10n.appVersion( - packageVersion ?? context.l10n.appVersionUnknown, + Semantics( + sortKey: const OrdinalSortKey(0.1), + child: Text( + context.l10n.appVersion( + packageVersion ?? context.l10n.appVersionUnknown, + ), + style: Theme.of(context).textTheme.bodySmall, ), - style: Theme.of(context).textTheme.bodySmall, ), - ), - ], + ], + ), ), const SizedBox(width: 20), ],