Ensure all ListTiles in FolderView are of the same height

It looks way neater this way.

https://github.com/flutter/flutter/issues/31134
This commit is contained in:
Vishesh Handa
2020-03-19 02:59:59 +01:00
parent 3e38628102
commit d5484502df
2 changed files with 2 additions and 2 deletions

View File

@ -62,7 +62,7 @@ class JournalView extends StatelessWidget {
var children = <Widget>[
const SizedBox(height: 8.0),
Text(
note.summary,
note.summary + '\n', // no minLines option
maxLines: 3,
overflow: TextOverflow.ellipsis,
style: textTheme.body1,

View File

@ -97,7 +97,7 @@ class StandardView extends StatelessWidget {
var summary = <Widget>[
const SizedBox(height: 8.0),
Text(
note.summary,
note.summary + '\n', // no minLines option
maxLines: 3,
overflow: TextOverflow.ellipsis,
style: textTheme.body1,