anchor.diff:      return new ListView.builder(
         itemCount: results.length,
         itemBuilder: (BuildContext context, int i) {
  -        final String result = results[i].text;
  -        final int startIndex = result.indexOf(query);
  -        final int endIndex = startIndex + query.length;
  -        return new ListTile(
  -          leading: query.isEmpty ? const Icon(Icons.history) : const Icon(null),
  -          title: _buildRichText(context, result, startIndex, endIndex),
  -          onTap: () {
  -            searchDelegate.close(context, results[i]);
  -          },
  -        );
  -      },
  -    );
  -    /*
  -    final ThemeData theme = Theme.of(context);
  +        return _buildListViewRow(context, results[i]);
  +      },
  +    );
  +  }
  +
  +  Widget _buildListViewRow(BuildContext context, dom.Element item) {
  +    final String text = item.text;
  +    final int startIndex = text.toLowerCase().indexOf(query.toLowerCase());
  +    final int endIndex = startIndex + query.length;
       return new GestureDetector(
  +      child: new Container(
  +          child: new Padding(
  +              padding: new EdgeInsets.all(16.0),
  +              child: new Row(
  +                children: <Widget>[
  +                  new Padding(
  +                      padding: new EdgeInsets.only(right: 32.0),
  +                      child: new Icon(Icons.history, color: Colors.black38)),
  +                  new Expanded(
  +                      child: new Column(
  +                    crossAxisAlignment: CrossAxisAlignment.start,
  +                    children: <Widget>[
  +                      _buildRichText(context, text, startIndex, endIndex),
  +                    ],
  +                  )),
  +                ],
  +              )),
  +          decoration: new BoxDecoration(
  +              border:
  +                  new Border(bottom: new BorderSide(color: Colors.grey[200])))),
         onTap: () {
           searchDelegate.close(context, item);
         },
  -      child: new Card(
  -        child: new Padding(
  -          padding: const EdgeInsets.all(8.0),
  -          child: new Column(
  -            children: <Widget>[
  -              new Text(title),
  -              new Text(
  -                item.text,
  -                style: theme.textTheme.headline.copyWith(fontSize: 72.0),
  -              ),
  -            ],
  -          ),
  -        ),
  -      ),
  -    );
  -    */
  +    );
     }
   
     Widget _buildRichText(
         BuildContext context, String text, int startIndex, int endIndex) {
       final ThemeData theme = Theme.of(context);
  -    if (startIndex == 0) {
  -      return new RichText(
  -        text: new TextSpan(
  -          text: text.substring(startIndex, endIndex),
  -          style: theme.textTheme.subhead.copyWith(fontWeight: FontWeight.bold),
  -          children: <TextSpan>[
  -            new TextSpan(
  -              text: text.substring(endIndex),
  -              style: theme.textTheme.subhead,
  -            ),
  -          ],
  -        ),
  -      );
  -    } else {
  -      return new RichText(
  -        text: new TextSpan(
  -          text: text.substring(0, startIndex),
  -          style: theme.textTheme.subhead,
  -          children: <TextSpan>[
  -            new TextSpan(
  -              text: text.substring(startIndex, endIndex),
  -              style:
  -                  theme.textTheme.subhead.copyWith(fontWeight: FontWeight.bold),
  -            ),
  -            new TextSpan(
  -              text: text.substring(endIndex),
  -              style: theme.textTheme.subhead,
  -            ),
  -          ],
  -        ),
  -      );
  -    }
  +    return new RichText(
  +      text: new TextSpan(
  +        text: text.substring(0, startIndex),
  +        style: theme.textTheme.subhead,
  +        children: <TextSpan>[
  +          new TextSpan(
  +            text: text.substring(startIndex, endIndex),
  +            style:
  +                theme.textTheme.subhead.copyWith(fontWeight: FontWeight.bold),
  +          ),
  +          new TextSpan(
  +            text: text.substring(endIndex),
  +            style: theme.textTheme.subhead,
  +          ),
  +        ],
  +      ),
  +    );
     }
   }
   
  
positive.code:             )
      ];
    }
  
    List<dom.Element> _getSearchList(List<dom.Element> list, String query) {
      List<dom.Element> searchList = new List();
      for (dom.Element item in list) {
        String title = item.text;
        if (title.contains(query)) {
          searchList.add(item);
        }
      }
      return searchList;
    }
  }
  
  class _ResultList extends StatelessWidget {
  
negative.code:   Widget _buildRichText(
        BuildContext context, String suggestion, int startIndex, int endIndex) {
      final ThemeData theme = Theme.of(context);
      return new RichText(
        text: new TextSpan(
          text: suggestion.substring(0, startIndex),
          style: theme.textTheme.subhead,
          children: <TextSpan>[
            new TextSpan(
              text: suggestion.substring(startIndex, endIndex),
              style:
                  theme.textTheme.subhead.copyWith(fontWeight: FontWeight.bold),
            ),
            new TextSpan(
              text: suggestion.substring(endIndex),
              style: theme.textTheme.subhead,
            ),
          ],
        ),
      );
    }
  }
  