WindowsTaskbar class
WindowsTaskbar
Flutter plugin serving utilities related to Windows taskbar.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
clearThumbnailToolbar(
) → Future< void> - Deprecated API present to avoid breaking changes.
-
flashTaskbarAppIcon(
{int mode = TaskbarFlashMode.all | TaskbarFlashMode.timernofg, int flashCount = 5, Duration timeout = Duration.zero}) → Future< void> - Deprecated API present to avoid breaking changes.
-
isTaskbarVisible(
) → Future< bool> - Returns whether taskbar is visible (in case of auto-hide).
-
resetFlashTaskbarAppIcon(
) → Future< void> - Stops flashing the taskbar app icon.
-
resetOverlayIcon(
) → Future< void> - Resets (hides) overlay icon that set by setOverlayIcon
-
resetThumbnailToolbar(
) → Future< void> - Removes thumbnail toolbar for the taskbar app icon.
-
resetWindowTitle(
) → Future< void> - Resets (hides) overlay icon that set by setOverlayIcon
-
setFlashTaskbarAppIcon(
{int mode = TaskbarFlashMode.all | TaskbarFlashMode.timernofg, int flashCount = 5, Duration timeout = Duration.zero}) → Future< void> - Flashes app icon on the taskbar. Generally used to draw user attention when something needs to be approved/rejected or fixed manually.
-
setOverlayIcon(
ThumbnailToolbarAssetIcon icon, {String tooltip = ''}) → Future< void> - Set icon on top of taskbar app icon Generally used to draw user attention when got unread events
-
setProgress(
int completed, int total) → Future< void> - Sets progress.
-
setProgressMode(
int mode) → Future< void> - Sets progress mode.
-
setThumbnailToolbar(
List< ThumbnailToolbarButton> buttons) → Future<void> - Sets thumbnail toolbar for the taskbar app icon. Takes list of thumbnail toolbar buttons.
-
setThumbnailTooltip(
String tooltip) → Future< void> - Sets thumbnail tooltip.
-
setWindowTitle(
String title) → Future< void> - Resets (hides) overlay icon that set by setOverlayIcon
-
stopFlashingTaskbarAppIcon(
) → Future< void> - Deprecated API present to avoid breaking changes.