windows_appcommand

Creator: coderz1093

Last updated:

0 purchases

TODO
Add to Cart

Description:

windows appcommand

windows_appcommand #

A Flutter plugin that adds WM_APPCOMMAND message functionality for windows.
https://learn.microsoft.com/en-us/windows/win32/inputdev/wm-appcommand?redirectedfrom=MSDN
Installation #
dependencies:
windows_appcommand: ^0.0.5
copied to clipboard
or
$ flutter pub add windows_appcommand
copied to clipboard
Usage #
import 'package:flutter/material.dart';
import 'package:windows_appcommand/windows_appcommand.dart';

...

class _MyAppState extends State<MyApp> with AppCommand {
@override
void initState() {
super.initState();
// addListener
windowsAppCommand.addListener(this);
}

@override
void dispose() {
// removeListener
windowsAppCommand.removeListener(this);
super.dispose();
}

...


// Listening events

@override
void onBassBoost() {
// APPCOMMAND_BASS_BOOST
}

}

copied to clipboard

Please see the example app of this plugin for a full example.

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.