Skip to content

Commit dbb61f9

Browse files
committed
update version
1 parent 990ee5c commit dbb61f9

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Change log
22

3+
## 2.1.3
4+
5+
When ui.window's size changes, toast is moved.
6+
37
## 2.1.2
48

59
Now, `OKToast` add a params `dismissOtherOnShow` to dismiss other toast.

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ And you can completely customize the style of toast, because now you can use `sh
3636

3737
```yaml
3838
dependencies:
39-
oktoast: ^2.1.2
39+
oktoast: ^2.1.3
4040
```
4141
4242
2. import library in dart file
@@ -80,6 +80,7 @@ position: the toast align and padding
8080
child: the application
8181
onDismiss: on toast dismiss will be called.
8282
dismissOtherOnShow: If true, other toasts will be dismissed. Default false.
83+
movingOnWindowChange: If true, when the size changes, toast is moved. Default true.
8384
```
8485

8586
about return type:

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: oktoast
22
description: A pure flutter toast library Support custom style/widget. Easy to use. You can use this library to achieve the same effect as Android toast.
3-
version: 2.1.2
3+
version: 2.1.3
44
author: Caijinglong<[email protected]>
55
homepage: https://github.com/OpenFlutter/flutter_oktoast
66

0 commit comments

Comments
 (0)