title: Flutter: Error in assigning value to const color
body: <pre><code>const color = Colors.red; // no error
  const color100 = Colors.red[100]; // error
  </code></pre>
  
  <p>If <code>Colors.red</code> is a compile time constant, why <code>Colors.red[100]</code> isn't. </p>