Skip to content

Commit

Permalink
v0.2.6
Browse files Browse the repository at this point in the history
  • Loading branch information
lijy91 committed Aug 20, 2022
1 parent 811793f commit a461d05
Show file tree
Hide file tree
Showing 6 changed files with 35 additions and 19 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
## 0.2.6

* [windows] Added `vertically` param to the `maximize` method.
* [Linux] implementation of methods: setIcon, isFocused (#186)
* [macos] fix crash lead by fast clicks (#198)
* Remove decoration for maximized window (#191)
* [linux] fix: cannot drag again after startDragging (#203)
* [windows] Implement isMaximizable and setMaximizable (#200)
* [windows] Implement SetResizable for windows (#204)

## 0.2.5

Expand Down
17 changes: 14 additions & 3 deletions README-ZH.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@
- [setMovable `macos`](#setmovable--macos)
- [isMinimizable `macos` `windows`](#isminimizable--macos--windows)
- [setMinimizable `macos` `windows`](#setminimizable--macos--windows)
- [isMaximizable `windows`](#isMaximizable--windows)
- [setMaximizable `windows`](#setMaximizable--windows)
- [isClosable `macos` `windows`](#isclosable--macos--windows)
- [setClosable `macos` `windows`](#setclosable--macos--windows)
- [isAlwaysOnTop](#isalwaysontop)
Expand Down Expand Up @@ -131,7 +133,7 @@

```yaml
dependencies:
window_manager: ^0.2.5
window_manager: ^0.2.6
```
Expand Down Expand Up @@ -517,7 +519,7 @@ Returns `bool` - Whether the window is maximized.

##### maximize

Maximizes the window.
Maximizes the window. `vertically` simulates aero snap, only works on Windows

##### unmaximize

Expand Down Expand Up @@ -619,11 +621,20 @@ Returns `bool` - Whether the window can be manually minimized by the user.
Sets whether the window can be manually minimized by user.


##### isClosable `macos` `windows`
##### isClosable `windows`

Returns `bool` - Whether the window can be manually closed by user.


##### isMaximizable `windows`

Returns `bool` - Whether the window can be manually maximized by the user.


##### setMaximizable

Sets whether the window can be manually maximized by the user.

##### setClosable `macos` `windows`

Sets whether the window can be manually closed by user.
Expand Down
17 changes: 8 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ Add this to your package's `pubspec.yaml` file:

```yaml
dependencies:
window_manager: ^0.2.5
window_manager: ^0.2.6
```
Or
Expand Down Expand Up @@ -519,7 +519,7 @@ Returns `bool` - Whether the window is maximized.

##### maximize

Maximizes the window.
Maximizes the window. `vertically` simulates aero snap, only works on Windows

##### unmaximize

Expand Down Expand Up @@ -621,20 +621,19 @@ Returns `bool` - Whether the window can be manually minimized by the user.
Sets whether the window can be manually minimized by user.


##### isMaximizable `windows`

Returns `bool` - Whether the window can be manually maximized by the user.
##### isClosable `windows`

Returns `bool` - Whether the window can be manually closed by user.

##### setMaximizable `windows`

Sets whether the window can be manually maximized by user.
##### isMaximizable `windows`

Returns `bool` - Whether the window can be manually maximized by the user.

##### isClosable `macos` `windows`

Returns `bool` - Whether the window can be manually closed by user.
##### setMaximizable

Sets whether the window can be manually maximized by the user.

##### setClosable `macos` `windows`

Expand Down
2 changes: 1 addition & 1 deletion example/macos/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ SPEC CHECKSUMS:

PODFILE CHECKSUM: 6eac6b3292e5142cfc23bdeb71848a40ec51c14c

COCOAPODS: 1.11.2
COCOAPODS: 1.11.3
10 changes: 5 additions & 5 deletions example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ packages:
name: bot_toast
url: "https://pub.dartlang.org"
source: hosted
version: "4.0.1"
version: "4.0.3"
characters:
dependency: transitive
description:
Expand Down Expand Up @@ -56,7 +56,7 @@ packages:
name: cupertino_icons
url: "https://pub.dartlang.org"
source: hosted
version: "1.0.3"
version: "1.0.5"
fake_async:
dependency: transitive
description:
Expand Down Expand Up @@ -94,7 +94,7 @@ packages:
name: menu_base
url: "https://pub.dartlang.org"
source: hosted
version: "0.1.0"
version: "0.1.1"
meta:
dependency: transitive
description:
Expand Down Expand Up @@ -183,7 +183,7 @@ packages:
name: tray_manager
url: "https://pub.dartlang.org"
source: hosted
version: "0.1.7"
version: "0.1.8"
vector_math:
dependency: transitive
description:
Expand All @@ -197,7 +197,7 @@ packages:
path: ".."
relative: true
source: path
version: "0.2.5"
version: "0.2.6"
sdks:
dart: ">=2.17.0-0 <3.0.0"
flutter: ">=1.20.0"
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: window_manager
description: This plugin allows Flutter desktop apps to resizing and repositioning the window.
version: 0.2.5
version: 0.2.6
homepage: https://github.com/leanflutter/window_manager

platforms:
Expand Down

0 comments on commit a461d05

Please sign in to comment.