File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
src/content/release/breaking-changes Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -143,10 +143,11 @@ final x = color.withValues(alpha: 0.0);
143143
144144### Equality
145145
146- Now that Color will be storing its color components as floating-point numbers
147- equality will work slightly different. When calculating colors there may be tiny
148- difference in numbers which could be considered equal. To accommodate this use
149- the [ ` closeTo ` ] [ ] matcher or the [ ` isColorSameAs ` ] [ ] matcher.
146+ Once ` Color ` stores its color components as floating-point numbers,
147+ equality works slightly differently.
148+ When calculating colors there might be tiny
149+ difference in values that could be considered equal.
150+ To accommodate this use the [ ` closeTo ` ] [ ] matcher or the [ ` isColorSameAs ` ] [ ] matcher.
150151
151152``` dart
152153// Before
You can’t perform that action at this time.
0 commit comments