MCPcopy Create free account
hub / github.com/alexmercerind/windows_taskbar

github.com/alexmercerind/windows_taskbar @v1.1.2

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.1.2 ↗ · + Follow
61 symbols 91 edges 16 files ⚖ MIT 7 documented · 11% updated 5mo agov1.1.2 · 2023-09-05★ 1714 open issues

Browse by type

Functions 53 Types & classes 8
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

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.

Core symbols most depended-on inside this repo

browse all functions →

Shape

Method 44
Function 9
Class 8

Languages

C++100%

Modules by API surface

example/windows/runner/win32_window.cpp21 symbols
windows/windows_taskbar.cc14 symbols
windows/windows_taskbar_plugin.cc7 symbols
example/windows/runner/win32_window.h5 symbols
example/windows/runner/flutter_window.cpp5 symbols
example/windows/runner/utils.cpp3 symbols
windows/windows_taskbar.h2 symbols
windows/utils.cc1 symbols
example/windows/runner/main.cpp1 symbols
example/windows/runner/flutter_window.h1 symbols
example/windows/flutter/generated_plugin_registrant.cc1 symbols

For agents

$ claude mcp add windows_taskbar \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page