Skip to content

Commit a461d05

Browse files
committed
v0.2.6
1 parent 811793f commit a461d05

File tree

6 files changed

+35
-19
lines changed

6 files changed

+35
-19
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
## 0.2.6
22

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

511
## 0.2.5
612

README-ZH.md

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,8 @@
7575
- [setMovable `macos`](#setmovable--macos)
7676
- [isMinimizable `macos` `windows`](#isminimizable--macos--windows)
7777
- [setMinimizable `macos` `windows`](#setminimizable--macos--windows)
78+
- [isMaximizable `windows`](#isMaximizable--windows)
79+
- [setMaximizable `windows`](#setMaximizable--windows)
7880
- [isClosable `macos` `windows`](#isclosable--macos--windows)
7981
- [setClosable `macos` `windows`](#setclosable--macos--windows)
8082
- [isAlwaysOnTop](#isalwaysontop)
@@ -131,7 +133,7 @@
131133

132134
```yaml
133135
dependencies:
134-
window_manager: ^0.2.5
136+
window_manager: ^0.2.6
135137
```
136138
137139
@@ -517,7 +519,7 @@ Returns `bool` - Whether the window is maximized.
517519

518520
##### maximize
519521

520-
Maximizes the window.
522+
Maximizes the window. `vertically` simulates aero snap, only works on Windows
521523

522524
##### unmaximize
523525

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

621623

622-
##### isClosable `macos` `windows`
624+
##### isClosable `windows`
623625

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

626628

629+
##### isMaximizable `windows`
630+
631+
Returns `bool` - Whether the window can be manually maximized by the user.
632+
633+
634+
##### setMaximizable
635+
636+
Sets whether the window can be manually maximized by the user.
637+
627638
##### setClosable `macos` `windows`
628639

629640
Sets whether the window can be manually closed by user.

README.md

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ Add this to your package's `pubspec.yaml` file:
133133

134134
```yaml
135135
dependencies:
136-
window_manager: ^0.2.5
136+
window_manager: ^0.2.6
137137
```
138138
139139
Or
@@ -519,7 +519,7 @@ Returns `bool` - Whether the window is maximized.
519519

520520
##### maximize
521521

522-
Maximizes the window.
522+
Maximizes the window. `vertically` simulates aero snap, only works on Windows
523523

524524
##### unmaximize
525525

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

623623

624-
##### isMaximizable `windows`
625-
626-
Returns `bool` - Whether the window can be manually maximized by the user.
624+
##### isClosable `windows`
627625

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

629-
##### setMaximizable `windows`
630628

631-
Sets whether the window can be manually maximized by user.
629+
##### isMaximizable `windows`
632630

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

634-
##### isClosable `macos` `windows`
635633

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

636+
Sets whether the window can be manually maximized by the user.
638637

639638
##### setClosable `macos` `windows`
640639

example/macos/Podfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@ SPEC CHECKSUMS:
3131

3232
PODFILE CHECKSUM: 6eac6b3292e5142cfc23bdeb71848a40ec51c14c
3333

34-
COCOAPODS: 1.11.2
34+
COCOAPODS: 1.11.3

example/pubspec.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ packages:
2121
name: bot_toast
2222
url: "https://pub.dartlang.org"
2323
source: hosted
24-
version: "4.0.1"
24+
version: "4.0.3"
2525
characters:
2626
dependency: transitive
2727
description:
@@ -56,7 +56,7 @@ packages:
5656
name: cupertino_icons
5757
url: "https://pub.dartlang.org"
5858
source: hosted
59-
version: "1.0.3"
59+
version: "1.0.5"
6060
fake_async:
6161
dependency: transitive
6262
description:
@@ -94,7 +94,7 @@ packages:
9494
name: menu_base
9595
url: "https://pub.dartlang.org"
9696
source: hosted
97-
version: "0.1.0"
97+
version: "0.1.1"
9898
meta:
9999
dependency: transitive
100100
description:
@@ -183,7 +183,7 @@ packages:
183183
name: tray_manager
184184
url: "https://pub.dartlang.org"
185185
source: hosted
186-
version: "0.1.7"
186+
version: "0.1.8"
187187
vector_math:
188188
dependency: transitive
189189
description:
@@ -197,7 +197,7 @@ packages:
197197
path: ".."
198198
relative: true
199199
source: path
200-
version: "0.2.5"
200+
version: "0.2.6"
201201
sdks:
202202
dart: ">=2.17.0-0 <3.0.0"
203203
flutter: ">=1.20.0"

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: window_manager
22
description: This plugin allows Flutter desktop apps to resizing and repositioning the window.
3-
version: 0.2.5
3+
version: 0.2.6
44
homepage: https://github.com/leanflutter/window_manager
55

66
platforms:

0 commit comments

Comments
 (0)