windows_taskbar 1.1.0 copy "windows_taskbar: ^1.1.0" to clipboard
windows_taskbar: ^1.1.0 copied to clipboard

outdated

Flutter plugin serving utilities related to Windows taskbar.

windows_taskbar

Flutter plugin serving utilities related to Windows taskbar 💙

Install #

dependencies:
  windows_taskbar: ^1.0.0

Demo #

Checkout the example Flutter application here.

Documentation #

Set thumbnail toolbar

WindowsTaskbar.setThumbnailToolbar(
  [
  ThumbnailToolbarButton(
    ThumbnailToolbarAssetIcon('assets/camera.ico'),
      'Turn On Camera',
      () {},
    ),
    ThumbnailToolbarButton(
      ThumbnailToolbarAssetIcon('assets/microphone.ico'),
      'Mute',
      () {},
      mode: ThumbnailToolbarButtonMode.disabled | ThumbnailToolbarButtonMode.dismissionClick,
    ),
    ThumbnailToolbarButton(
      ThumbnailToolbarAssetIcon('assets/end_call.ico'),
      'Disconnect',
      () {},
    ),
  ],
);

Remove thumbnail toolbar

WindowsTaskbar.resetThumbnailToolbar();

Set progress mode

WindowsTaskbar.setProgressMode(TaskbarProgressMode.indeterminate);

Set progress

WindowsTaskbar.setProgress(69, 100);

Set thumbnail tooltip

WindowsTaskbar.setThumbnailTooltip('Awesome Flutter window.');

Flash windows taskbar app icon

WindowsTaskbar.setFlashTaskbarAppIcon(
  mode: TaskbarFlashMode.all | TaskbarFlashMode.timernofg,
  timeout: const Duration(milliseconds: 500),
);

Stop flashing windows taskbar app icon

WindowsTaskbar.resetFlashTaskbarAppIcon();

Set overlay icon (a badge)

WindowsTaskbar.setOverlayIcon(
  ThumbnailToolbarAssetIcon('assets/red_slash.ico'),
  tooltip: 'Stop',
);

Remove overlay icon (a badge)

WindowsTaskbar.resetOverlayIcon();

License #

Copyright © 2021 & 2022, Hitesh Kumar Saini <saini123hitesh@gmail.com>

This library & all the work in this repository is under MIT license that can be found in the LICENSE file.

Consider donating me at https://www.paypal.me/alexmercerind if you like the plugin. So that I can atleast pay my internet bill.

124
likes
0
pub points
96%
popularity

Publisher

unverified uploader

Flutter plugin serving utilities related to Windows taskbar.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, path

More

Packages that depend on windows_taskbar