Skip to content

Commit

Permalink
feat(null-safety): update readme to reflect null-safety
Browse files Browse the repository at this point in the history
null-safety has been added, and it will be published as a prerelease to pub.dev

BREAKING CHANGE: library have been migrated to dart null-safety
  • Loading branch information
jordond committed Mar 5, 2021
1 parent 4cbdd2a commit 7903c48
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion README.md
Expand Up @@ -14,7 +14,16 @@ Add the dependency to your `pubspec.yaml`

```yaml
dependencies:
weather_icons: 1.0.x # Use the latest version
weather_icons: 2.0.x # Use the latest version
```

### Null safety

To opt-in to the latest null-safe version use:

```yaml
dependencies:
weather_icons: 3.0.0-nullsafety.x # Use the latest version
```

## Usage
Expand Down

0 comments on commit 7903c48

Please sign in to comment.