Added basic example to readme
This commit is contained in:
parent
bd4d913b93
commit
5568c612ce
11
README.md
11
README.md
|
@ -5,6 +5,17 @@ Cross platform notification popups, similar to "Growl" on OSX, "Toasts" on Windo
|
||||||
|
|
||||||
This small library can display notifications on any screen, in any corner.
|
This small library can display notifications on any screen, in any corner.
|
||||||
|
|
||||||
|
|
||||||
|
Basic usage
|
||||||
|
---------
|
||||||
|
```java
|
||||||
|
Notify.create()
|
||||||
|
.title("Title Text")
|
||||||
|
.text("Hello World!")
|
||||||
|
.useDarkStyle()
|
||||||
|
.showWarning();
|
||||||
|
```
|
||||||
|
|
||||||
Primary Features:
|
Primary Features:
|
||||||
|
|
||||||
1. Can specify which screen to use for notification.
|
1. Can specify which screen to use for notification.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user