Skip to content

Commit f2ff5d0

Browse files
authored
Update src/content/release/breaking-changes/wide-gamut-framework.md
1 parent 5bca9f9 commit f2ff5d0

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/content/release/breaking-changes/wide-gamut-framework.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)