Skip to content

codeSomethingDaily/volume_controller

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flutter Android voulme button handler

A Flutter plugin for iOS and Android control system volume.

As far as I can tell it is hard for a plugin to override android default behavior, doing it directly in your app is easier.

follow https://docs.flutter.dev/development/platform-integration/platform-channels and put MainActivity.kt as ${project_name}/android/app/src/kotlin/com/${package_name}/MainActivity.kt, and android_volume_button_handler.dart in your lib to use volume button as a button.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Kotlin 61.9%
  • Dart 38.1%