Skip to content

Commit

Permalink
docs: add pub.dev version badge
Browse files Browse the repository at this point in the history
  • Loading branch information
dector committed Jan 26, 2024
1 parent b0cffa6 commit 9cc84ac
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,22 @@
# WLED API for Dart

:construction: Heavily WIP.
![Pub Version](https://img.shields.io/pub/v/wled)

🚧 **ATTENTION!** Current version is totally usable but API might change multiple times before the 1.0 release. 🚧


## Changelog

See [CHANGELOG.md](CHANGELOG.md).


## Usage

``` dart
// Will be resolved to `http://localhost`.
// Alternatively you can use IP address.
final wled = Wled('localhost');
// or
final wled = Wled('127.0.0.1')
await wled.toggle();
```

0 comments on commit 9cc84ac

Please sign in to comment.