Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Minor change.
  • Loading branch information
james-alex committed Mar 22, 2020
1 parent 3e3b5c7 commit 17738ba
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions README.md
Expand Up @@ -90,13 +90,9 @@ RgbColor toRgbColor();
XyzColor toXyzColor();
```

Altenatively, each color model has a static method `from` that returns
Altenatively, each color model has a constructor [ColorModel.from] that returns
a color from any color space in the color space being called.

```dart
static T from(ColorModel color);
```

```dart
// Create a HSV color
var originalColor = HsvColor(0.3, 0.8, 0.7);
Expand Down

0 comments on commit 17738ba

Please sign in to comment.