hardware_buttons_find_flutter 0.0.4 copy "hardware_buttons_find_flutter: ^0.0.4" to clipboard
hardware_buttons_find_flutter: ^0.0.4 copied to clipboard

PlatformAndroid

On mobile devices with different buttons on it, listening for the name of the button when the buttons are pressed.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add hardware_buttons_find_flutter

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  hardware_buttons_find_flutter: ^0.0.4

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:hardware_buttons_find_flutter/get_event_name.dart';
import 'package:hardware_buttons_find_flutter/hardware_buttons_find_flutter_method_channel.dart';
import 'package:hardware_buttons_find_flutter/key_events.dart';
23
likes
140
points
95
downloads

Publisher

verified publisheralakbarheydarov.com

Weekly Downloads

On mobile devices with different buttons on it, listening for the name of the button when the buttons are pressed.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on hardware_buttons_find_flutter