title: Flutter : The argument type 'Image' can't be assigned to the parameter type 'IconData'
body: <p>I want to use my image from assets as an icon, and then I build my lists, but there are some errors that occurred when trying to add <code>Image.asset</code> as a class to the icon as a variable with <code>IconData</code> as data type, instead of using Icons as a class.</p>
  <p>Any idea to fix this problem?</p>
  <p>Thank you.</p>
  <pre><code>class Menu {
    const Menu({this.icon, this.title});
  
    final IconData icon;
    final String title;
  }
  
  const List&lt;Menu&gt; menus = const &lt;Menu&gt;[
    const Menu(title: 'menu_icon_1', icon: Image.asset('assets/menu/1-1.png')),
  ],
  </code></pre>
  <pre><code>error: The argument type 'Image' can't be assigned to the parameter type 'IconData'. (argument_type_not_assignable at [sinergi] lib\home.dart:12)
  </code></pre>