diff --git a/lib/main.dart b/lib/main.dart index 6da579d..1fce859 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -73,7 +73,18 @@ class RandomWordsState extends State { ) ], ), - body: _buildSuggestions(), + body: new Column( + mainAxisSize: MainAxisSize.min, + children: [ + new LinearProgressIndicator( + value: 0.5, + backgroundColor: Colors.orange, + ), + new Expanded( + child: _buildSuggestions(), + ), + ], + ), ); } @@ -104,23 +115,6 @@ class RandomWordsState extends State { Navigator.of(context).push( new MaterialPageRoute( builder: (context) { - final tiles = _saved.map( - (pair) { - return new ListTile( - title: new Text( - pair.asPascalCase, - style: _titleFont, - ), - ); - }, - ); - final divided = ListTile - .divideTiles( - context: context, - tiles: tiles, - ) - .toList(); - return new Scaffold( appBar: new AppBar( title: new Text('Edit'),