From 23301a3509ca496255e48c86948f04487ec205bd Mon Sep 17 00:00:00 2001 From: Hitesh Kumar Saini Date: Tue, 1 Feb 2022 20:05:51 +0530 Subject: [PATCH] Update README --- README.md | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 74474af..84d145b 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ ## Install ```yaml -dependencies: +dependencies: windows_taskbar: ^1.0.0 ``` @@ -15,7 +15,6 @@ Checkout the example Flutter application [here](https://github.com/alexmercerind ![](https://github.com/alexmercerind/windows_taskbar/blob/assets/bMebejv57F.gif) ![](https://github.com/alexmercerind/windows_taskbar/blob/assets/OdzgD1yqEO.gif) - ## Documentation **Set thumbnail toolbar** @@ -43,10 +42,10 @@ WindowsTaskbar.setThumbnailToolbar( ); ``` -**Clear thumbnail toolbar** +**Remove thumbnail toolbar** ```dart -WindowsTaskbar.clearThumbnailToolbar(); +WindowsTaskbar.resetThumbnailToolbar(); ``` **Set progress mode** @@ -70,7 +69,7 @@ WindowsTaskbar.setThumbnailTooltip('Awesome Flutter window.'); **Flash windows taskbar app icon** ```dart -WindowsTaskbar.flashTaskbarAppIcon( +WindowsTaskbar.setFlashTaskbarAppIcon( mode: TaskbarFlashMode.all | TaskbarFlashMode.timernofg, timeout: const Duration(milliseconds: 500), ); @@ -79,13 +78,16 @@ WindowsTaskbar.flashTaskbarAppIcon( **Stop flashing windows taskbar app icon** ```dart -WindowsTaskbar.stopFlashingTaskbarAppIcon(); +WindowsTaskbar.resetFlashTaskbarAppIcon(); ``` **Set overlay icon (a badge)** ```dart -WindowsTaskbar.setOverlayIcon(icon: 'res/circle.ico', altTooltip: 'Alternative tooltip for badge'); +WindowsTaskbar.setOverlayIcon( + ThumbnailToolbarAssetIcon('assets/red_slash.ico'), + tooltip: 'Stop', +); ``` **Remove overlay icon (a badge)** @@ -100,7 +102,6 @@ Copyright © 2021 & 2022, Hitesh Kumar Saini <> This library & all the work in this repository is under MIT license that can be found in the LICENSE file. - -## Donate +## Donate Consider donating me at https://www.paypal.me/alexmercerind if you like the plugin. So that I can atleast pay my internet bill.