title: Dart Flutter get IconData actual icon name by using the code
body: <p>I can use this line of code example to get an icon of MaterialIcons in <strong>icons.dart</strong> by using the <code>codePoint</code></p>
  
  <p>e.g.</p>
  
  <pre class="lang-dart prettyprint-override"><code>codePoint=0xe146;
  Icon(IconData(codePoint, fontFamily: 'MaterialIcons'));
  </code></pre>
  
  <p>What i would like to get is the actual descriptive name of the icon. Any ideas how I can go about this? </p>
  
  <p>The file where the icons are encoded is <strong>icons.dart</strong> and looks like this for each icon:</p>
  
  <pre class="lang-dart prettyprint-override"><code>  /// &lt;i class="material-icons md-36"&gt;add_box&lt;/i&gt; &amp;#x2014; material icon named "add box".
    static const IconData add_box = IconData(0xe146, fontFamily: 'MaterialIcons');
  </code></pre>