Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Flutter library serving utilities related to Windows taskbar.

License

NotificationsYou must be signed in to change notification settings

alexmercerind/windows_taskbar

Repository files navigation

Flutter plugin serving utilities related to Windows taskbar.

Installation

Add package to the dependencies section of thepubspec.yaml:

dependencies:windows_taskbar:^1.1.2



Guide

A minimal usage guide forpackage: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:constDuration(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 theLICENSE file.

About

Flutter library serving utilities related to Windows taskbar.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors5


[8]ページ先頭

©2009-2025 Movatter.jp