title: How to convert Future<List> to List in flutter?
body: <p>I am using a plugin for flutter called <code>search_widget</code>.
  The data parameter of this widget takes a list. But as I use <code>sqlite</code> for fetching data, I have it in <code>Future&lt;List&gt;</code> form.
  Is there any way I can convert <code>Future&lt;List&gt;</code> to <code>List</code>?
  Or any other way to get this working.</p>