flutter_volume 0.0.2 copy "flutter_volume: ^0.0.2" to clipboard
flutter_volume: ^0.0.2 copied to clipboard

A new flutter plugin project.

flutter_volume #

A flutter plugin as an volume interface for iOS and android.

Getting Started #

Set flutter_volume as dependencie in your pubspec.yaml

Usage #

import 'package:flutter_volume/flutter_volume.dart';

// Return relative volume as double between 0.0 and 1.0
await FlutterVolume.volume;

// Sets volume to 0.0
FlutterVolume.mute();

// Set volume between 0.0 and 1.0 as relative value
FlutterVolume.setVolume(0.1);

TODO #

  • Make it iOS compatible (help is appreciated!)
1
likes
20
pub points
46%
popularity

Publisher

unverified uploader

A new flutter plugin project.

Homepage

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on flutter_volume