Volume class
Volume
Volume is for full control on the audio Don't works in web
Constructors
- Volume.new({bool isMute = false})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
muteNotifier
→ ValueNotifier<
bool> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getVolume(
) → Future< double?> - Get the current system or device volume
-
isMute(
) → Future< bool?> - cheching that is it mute
-
mute(
bool mute) → Future< void> - To control mute and unmute
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setVolume(
double volume) → Future< void> - Set specific volume
-
showVolumeUpdate(
bool show) → Future< void> - Show or not system audio change bar when audio is changed
-
toggleMute(
) → Future< void> - To toggle between mute and unmute
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited