• Stars
    star
    151
  • Rank 246,057 (Top 5 %)
  • Language
    C++
  • License
    MIT License
  • Created about 3 years ago
  • Updated about 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Flutter library serving utilities related to Windows taskbar.

windows_taskbar

Flutter plugin serving utilities related to Windows taskbar.

Install

dependencies:
  windows_taskbar: ^1.1.1

Checkout the example Flutter application here.

Docs

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();

Set window title (or taskbar button label)

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

Reset window title (or taskbar button label)

WindowsTaskbar.resetWindowTitle();

Please see API reference for extended information & more detail about various configurations.

Sponsor

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

License

Copyright © 2021 & onwards, Hitesh Kumar Saini <[email protected]>

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

More Repositories

1

youtube-search-python

🔎 Search for YouTube videos, channels & playlists. Get 🎞 video & 📑 playlist info using link. Get search suggestions. WITHOUT YouTube Data API v3.
Python
735
star
2

flutter_acrylic

Flutter library for window acrylic, mica & transparency effects.
Dart
591
star
3

dart_vlc

Flutter bindings to libVLC.
C++
503
star
4

media_kit

A complete 🎬 video & 🎵 audio library for Flutter & Dart.
Dart
391
star
5

flutter_native_view

[WIP] Embedding native windows into Flutter. Scrollable support & widgets placement on-top. 🪟
C++
143
star
6

audire

Identify music playing around you.
Kotlin
141
star
7

flutter_media_metadata

A Flutter plugin to read 🔖 metadata of 🎵 media files. Supports Windows, Linux, macOS, Android, iOS & Web.
C++
68
star
8

flutter_audio_desktop

[WIP] An 🎵 audio playback library for Flutter Desktop. Supports Windows & Linux. Based on miniaudio.
C++
52
star
9

moving-letters-android

Text animation library for Jetpack Compose.
Kotlin
40
star
10

desktoasts

[DISCONTINUED] A Dart FFI package to send 💬 toasts on Windows. Written in C++, based on WinToast.
36
star
11

flutter-windows-ANGLE-OpenGL-ES

OpenGL ES inside Flutter Windows.
C++
33
star
12

window_plus

As it should be. Extend view into title-bar.
Dart
32
star
13

dart_discord_rpc

Discord Rich Presence for Flutter & Dart.
C++
29
star
14

image_palette_generator

🌈 Generate a color palette from an image or find dominant color.
C++
14
star
15

mpris_service

🎹 D-Bus MPRIS for GNU/Linux.
Dart
14
star
16

safe_local_storage

🗃️ A safe caching library to read/write values on local storage.
Dart
12
star
17

material_wave_slider

[WIP] Material Design 3 / Material You style wave slider.
C++
12
star
18

uri_parser

🔗 A minimal & safe utility to parse URIs.
Dart
8
star
19

libmpv.dart

[WIP] Dart bindings to mpv media player's C API.
Dart
6
star
20

artwork-extractor

A simple CLI to extract & save artwork of a 🎵 music/audio file.
C++
5
star
21

mdl

🎶 A simple webapp to download music.
Svelte
5
star
22

harmonoid-website

Harmonoid Project Website.
JavaScript
4
star
23

flutter-win32-acrylic

[WIP] Not ready for usage.
CMake
2
star
24

alexmercerind.github.io

✨ A website where I publish my documentations, blogs & keep my CV.
CSS
1
star
25

dart-ffi-linux-issue

1
star
26

dart_api_test

Nothing to see here. Move along.
C++
1
star
27

native-android

[NOT FOR WORK] 🦄 Just a personal repository to keep Native Android apps made in Java & Kotlin while learning.
Kotlin
1
star
28

musiclibgen

[WIP] A fast music indexer & music library generator for C.
C++
1
star
29

hello-world

1
star
30

github-stats

Python
1
star
31

slides

1
star