diff --git a/CHANGELOG.md b/CHANGELOG.md index 5b88059..0bec2a7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,30 +1,29 @@ -## 1.1.0+1 +## 1.1.1 -- Add documentation website. +- feat: `WindowsTaskbar.setWindowTitle` & `WindowsTaskbar.resetWindowTitle` (@alexmercerind). +- refactor: check `nullptr` before invoking `ITaskbarList3` methods (@alexmercerind). ## 1.1.0 -- Added `WindowsTaskbar.setOverlayIcon` & `WindowsTaskbar.resetOverlayIcon` (@nikitatg). -- Move implementation to separate translation unit & make methods non-inline (@alexmercerind). -- Now platform channel calls raise errors correctly by checking `HRESULT` (@alexmercerind). -- Deprecated methods: +- feat: `WindowsTaskbar.setOverlayIcon` & `WindowsTaskbar.resetOverlayIcon` (@nikitatg). +- feat: platform channel calls raise errors correctly by checking `HRESULT` (@alexmercerind). +- perf: move impl to separate translation unit & make methods non-inline (@alexmercerind). +- refactor: improved naming of various methods (@alexmercerind). +- deprecated: - `WindowsTaskbar.clearThumbnailToolbar` is now `WindowsTaskbar.resetThumbnailToolbar`. - `WindowsTaskbar.setFlashTaskbarAppIcon` is now `WindowsTaskbar.setFlashTaskbarAppIcon`. - `WindowsTaskbar.stopFlashingTaskbarAppIcon` is now `WindowsTaskbar.resetFlashTaskbarAppIcon`. - - The change has been made to fix inconsistency in names. ## 1.0.0 -- Implement `WindowsTaskbar.flashTaskbarAppIcon` & `WindowsTaskbar.stopFlashingTaskbarAppIcon` (@alexmercerind). -- Change project license to MIT (@alexmercerind). -- Use `MultiByteToWideChar` for `std::wstring` convert (@boyan01). +- feat: `WindowsTaskbar.flashTaskbarAppIcon` & `WindowsTaskbar.stopFlashingTaskbarAppIcon` (@alexmercerind). +- fix: use `MultiByteToWideChar` for `std::wstring` convert (@boyan01). +- chore: re-license to MIT (@alexmercerind). ## 0.0.1 -- Initial release. -- Expose all common `ITaskbarList3` WIN32 APIs (@alexmercerind). -- Add following methods to `WindowsTaskbar` (@alexmercerind): - - `SetProgressMode` - - `SetProgress` - - `SetThumbnailToolbar` - - `SetThumbnailTooltip` +- feat: most of the common `ITaskbarList3` Win32 APIs (@alexmercerind). +- feat: `SetProgressMode` (@alexmercerind). +- feat: `SetProgress` (@alexmercerind). +- feat: `SetThumbnailToolbar` (@alexmercerind). +- feat: `SetThumbnailTooltip` (@alexmercerind). diff --git a/README.md b/README.md index dc4dd53..27f08fc 100644 --- a/README.md +++ b/README.md @@ -1,23 +1,31 @@ -

windows_taskbar

-

Flutter plugin serving utilities related to Windows taskbar 💙

+

windows_taskbar

+

Flutter plugin serving utilities related to Windows taskbar.

## Install ```yaml dependencies: - windows_taskbar: ^1.0.0 + windows_taskbar: ^1.1.1 ``` -## Demo + + + + + + + +
+ +
+ +
Checkout the example Flutter application [here](https://github.com/alexmercerind/windows_taskbar/blob/master/example/lib/main.dart). -![](https://github.com/alexmercerind/windows_taskbar/blob/assets/bMebejv57F.gif) -![](https://github.com/alexmercerind/windows_taskbar/blob/assets/OdzgD1yqEO.gif) - ## Docs -**Set thumbnail toolbar** +#### Set thumbnail toolbar ```dart WindowsTaskbar.setThumbnailToolbar( @@ -42,31 +50,31 @@ WindowsTaskbar.setThumbnailToolbar( ); ``` -**Remove thumbnail toolbar** +#### Remove thumbnail toolbar ```dart WindowsTaskbar.resetThumbnailToolbar(); ``` -**Set progress mode** +#### Set progress mode ```dart WindowsTaskbar.setProgressMode(TaskbarProgressMode.indeterminate); ``` -**Set progress** +#### Set progress ```dart WindowsTaskbar.setProgress(69, 100); ``` -**Set thumbnail tooltip** +#### Set thumbnail tooltip ```dart WindowsTaskbar.setThumbnailTooltip('Awesome Flutter window.'); ``` -**Flash windows taskbar app icon** +#### Flash windows taskbar app icon ```dart WindowsTaskbar.setFlashTaskbarAppIcon( @@ -75,13 +83,13 @@ WindowsTaskbar.setFlashTaskbarAppIcon( ); ``` -**Stop flashing windows taskbar app icon** +#### Stop flashing windows taskbar app icon ```dart WindowsTaskbar.resetFlashTaskbarAppIcon(); ``` -**Set overlay icon (a badge)** +#### Set overlay icon (a badge) ```dart WindowsTaskbar.setOverlayIcon( @@ -90,18 +98,35 @@ WindowsTaskbar.setOverlayIcon( ); ``` -**Remove overlay icon (a badge)** +#### Remove overlay icon (a badge) ```dart WindowsTaskbar.resetOverlayIcon(); ``` +#### Set window title (or taskbar button label) + +```dart +WindowsTaskbar.setWindowTitle('Never Gonna Give You Up'); +``` + +#### Reset window title (or taskbar button label) + +```dart +WindowsTaskbar.resetWindowTitle(); +``` + +Please see [API reference](https://pub.dev/documentation/windows_taskbar/latest/windows_taskbar/windows_taskbar-library.html) for extended information & more detail about various configurations. + +## Sponsor + +You may consider buying me a coffee if you like this package. + +- [GitHub Sponsors](https://github.com/sponsors/alexmercerind) +- [PayPal](https://paypal.me/alexmercerind) + ## License Copyright © 2021 & onwards, Hitesh Kumar Saini <> This library & all the work in this repository is under MIT license that can be found in the LICENSE file. - -## Donate - -Consider donating me at https://www.paypal.me/alexmercerind if you like the plugin. So that I can atleast pay my internet bill.