AudioDecibelCheckOptions class
Configuration options for the AudioDecibelCheck
widget.
Example:
AudioDecibelCheck(
options: AudioDecibelCheckOptions(
animateWaveform: () => print("Animate waveform"),
resetWaveform: () => print("Reset waveform"),
name: "John Doe",
participant: participant,
parameters: parameters,
onShowWaveformChanged: (isVisible) => print("Show waveform: $isVisible"),
),
);
Constructors
- AudioDecibelCheckOptions({required Function animateWaveform, required Function resetWaveform, required String name, required Participant participant, required AudioDecibelCheckParameters parameters, required Function onShowWaveformChanged})
-
const
Properties
- animateWaveform → Function
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
final
- onShowWaveformChanged → Function
-
final
- parameters → AudioDecibelCheckParameters
-
final
- participant → Participant
-
final
- resetWaveform → Function
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited