|
77 | 77 | - [isMinimizable `macos` `windows`](#isminimizable--macos--windows) |
78 | 78 | - [setMinimizable `macos` `windows`](#setminimizable--macos--windows) |
79 | 79 | - [isClosable `windows`](#isclosable--windows) |
80 | | - - [isMaximizable `windows`](#ismaximizable--windows) |
| 80 | + - [isMaximizable `macos` `windows`](#ismaximizable--macos--windows) |
81 | 81 | - [setMaximizable](#setmaximizable) |
82 | 82 | - [setClosable `macos` `windows`](#setclosable--macos--windows) |
83 | 83 | - [isAlwaysOnTop](#isalwaysontop) |
84 | 84 | - [setAlwaysOnTop](#setalwaysontop) |
85 | 85 | - [isAlwaysOnBottom](#isalwaysonbottom) |
86 | | - - [setAlwaysOnBottom `linux`](#setalwaysonbottom--linux) |
| 86 | + - [setAlwaysOnBottom `linux` `windows`](#setalwaysonbottom--linux--windows) |
87 | 87 | - [getTitle](#gettitle) |
88 | 88 | - [setTitle](#settitle) |
89 | 89 | - [setTitleBarStyle](#settitlebarstyle) |
|
136 | 136 |
|
137 | 137 | ```yaml |
138 | 138 | dependencies: |
139 | | - window_manager: ^0.3.1 |
| 139 | + window_manager: ^0.3.2 |
140 | 140 | ``` |
141 | 141 |
|
142 | 142 | 或 |
@@ -700,7 +700,7 @@ Sets whether the window should show always on top of other windows. |
700 | 700 |
|
701 | 701 | Returns `bool` - Whether the window is always below other windows. |
702 | 702 |
|
703 | | -##### setAlwaysOnBottom `linux` |
| 703 | +##### setAlwaysOnBottom `linux` `windows` |
704 | 704 |
|
705 | 705 | Sets whether the window should show always below other windows. |
706 | 706 |
|
@@ -739,6 +739,14 @@ Sets progress value in progress bar. Valid range is [0, 1.0]. |
739 | 739 | Sets window/taskbar icon. |
740 | 740 |
|
741 | 741 |
|
| 742 | +##### setBadgeLabel `macos` |
| 743 | + |
| 744 | +Set/unset label on taskbar(dock) app icon |
| 745 | + |
| 746 | +Note that it's required to request access at your AppDelegate.swift like this: |
| 747 | +UNUserNotificationCenter.current().requestAuthorization(options: [.alert, .badge]) |
| 748 | + |
| 749 | + |
742 | 750 | ##### hasShadow `macos` `windows` |
743 | 751 |
|
744 | 752 | Returns `bool` - Whether the window has a shadow. On Windows, always returns true unless window is frameless. |
|
0 commit comments