Search packages, repositories and app categories

windows_taskbar cover
Package detailsv1.1.2

windows_taskbar

Flutter plugin serving utilities related to Windows taskbar.

Windows
30-day downloads
16.1K
Likes
147
Pub points
150

Install package

flutter pub add windows_taskbar

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

The windows_taskbar package is a Flutter plugin that provides utilities for interacting with the Windows taskbar. It enables developers to customize taskbar properties such as progress indicators, icon overlays, and window state management. Designed specifically for Windows desktop applications, it enhances user experience by integrating native taskbar features into Flutter apps. The plugin leverages Windows-specific APIs to deliver seamless functionality without requiring platform-specific code. It is ideal for desktop apps needing advanced taskbar integration.

Use cases

  • Customizing taskbar progress bars
  • Adding icon overlays for notifications
  • Managing window states via taskbar
  • Enhancing desktop app usability
  • Integrating native Windows features
  • Improving user feedback in desktop apps

Key features

  • Taskbar progress bar control
  • Icon overlay support
  • Windows-specific API access
  • Cross-platform desktop compatibility
  • Simple Flutter integration
  • Real-time taskbar updates

Suitable for

  • Windows desktop Flutter developers
  • Apps requiring taskbar interaction
  • Desktop applications with status indicators
  • Developers targeting Windows platforms
  • Projects needing native taskbar features
  • Users seeking enhanced taskbar functionality

Considerations

  • Limited to Windows platform
  • Requires Windows-specific setup
  • May need admin permissions for some features
  • Depends on Windows OS version
  • Not compatible with other desktop platforms
  • Potential for inconsistent behavior across Windows versions

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

windows_taskbar

Flutter plugin serving utilities related to Windows taskbar.

Installation

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

dependencies:
  windows_taskbar: ^1.1.2



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',
      () {},
    ),
  ],
);
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 (badge)
WindowsTaskbar.setOverlayIcon(
  ThumbnailToolbarAssetIcon('assets/red_slash.ico'),
  tooltip: 'Stop',
);
Remove overlay icon (badge)
WindowsTaskbar.resetOverlayIcon();
Set window title (taskbar button label)
WindowsTaskbar.setWindowTitle('Never Gonna Give You Up');
Reset window title (taskbar button label)
WindowsTaskbar.resetWindowTitle();
Next steps

Sponsor

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.

Categories

Dependencies

Dependency list 1 items

Source repository

Projects using this package