Handle long company names
This commit is contained in:
parent
e95b0baf82
commit
bb846e0bf5
|
|
@ -77,7 +77,11 @@ class AppDrawer extends StatelessWidget {
|
|||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
children: <Widget>[
|
||||
Text(company.name, style: Theme.of(context).textTheme.subhead),
|
||||
Text(
|
||||
company.name,
|
||||
style: Theme.of(context).textTheme.subhead,
|
||||
overflow: TextOverflow.ellipsis,
|
||||
),
|
||||
Text(company.user.email,
|
||||
overflow: TextOverflow.ellipsis,
|
||||
style: Theme.of(context).textTheme.caption),
|
||||
|
|
@ -119,7 +123,11 @@ class AppDrawer extends StatelessWidget {
|
|||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
children: <Widget>[
|
||||
Text(company.name),
|
||||
Text(
|
||||
company.name,
|
||||
style: Theme.of(context).textTheme.subhead,
|
||||
overflow: TextOverflow.ellipsis,
|
||||
),
|
||||
Text(company.user.email,
|
||||
overflow: TextOverflow.ellipsis,
|
||||
style: Theme.of(context).textTheme.caption)
|
||||
|
|
|
|||
Loading…
Reference in New Issue