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

PlatformWindows

Flutter plugin serving utilities related to Windows taskbar.

windows_taskbar #

Installation #

Add package to the dependencies section of the pubspec.yaml:

dependencies:
  windows_taskbar: ^1.1.2
copied to clipboard



Guide #

A minimal usage guide for package:windows_taskbar.

Contents #

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',
      () {},
    ),
  ],
);
copied to clipboard

Remove thumbnail toolbar

WindowsTaskbar.resetThumbnailToolbar();
copied to clipboard

Set progress mode

WindowsTaskbar.setProgressMode(TaskbarProgressMode.indeterminate);
copied to clipboard

Set progress

WindowsTaskbar.setProgress(69, 100);
copied to clipboard

Set thumbnail tooltip

WindowsTaskbar.setThumbnailTooltip('Awesome Flutter window.');
copied to clipboard

Flash windows taskbar app icon

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

Stop flashing windows taskbar app icon

WindowsTaskbar.resetFlashTaskbarAppIcon();
copied to clipboard

Set overlay icon (badge)

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

Remove overlay icon (badge)

WindowsTaskbar.resetOverlayIcon();
copied to clipboard

Set window title (taskbar button label)

WindowsTaskbar.setWindowTitle('Never Gonna Give You Up');
copied to clipboard

Reset window title (taskbar button label)

WindowsTaskbar.resetWindowTitle();
copied to clipboard

Next steps

You may consider buying me a coffee if you like this package.

License #

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

This project & the work under this repository is governed by MIT license that can be found in the LICENSE file.

132
likes
150
points
6.24k
downloads

Publisher

unverified uploader

Weekly Downloads

2024.09.11 - 2025.03.26

Flutter plugin serving utilities related to Windows taskbar.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

flutter, path

More

Packages that depend on windows_taskbar