colors property

The colors list shouldn't be modified directly, that is why an UnmodifiableListView is used. If you want to add colors use the add or addTransform method.

Implementation

UnmodifiableListView<Color> get colors {
  return UnmodifiableListView<Color>(_colors);
}