FlutterVolume class

Constructors

FlutterVolume()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited

Static Properties

value VolumeVal
read-only

Static Methods

addVolListener(VoidCallback listener) → void
disableUI() Future<void>
disableWatcher() → void
down({double step: _step, int type: STREAM_MUSIC}) Future<double>
enableUI() Future<void>
enableWatcher() → void
get({int type: STREAM_MUSIC}) Future<double>
mute({int type: STREAM_MUSIC}) Future<double>
removeVolListener(VoidCallback listener) → void
set(double vol, {int type: STREAM_MUSIC}) Future<double>
up({double step: _step, int type: STREAM_MUSIC}) Future<double>

Constants

STREAM_ALARM → const int
4
STREAM_MUSIC → const int
3
STREAM_RING → const int
2
STREAM_SYSTEM → const int
1
STREAM_VOICE_CALL → const int
0