SiriWaveController class
Controls the amplitude
, color
, frequency
and speed
properties of the
waveform.
Constructors
- SiriWaveController({double amplitude = 1, Color color = Colors.white, int frequency = 6, double speed = .2})
- Creates a SiriWaveController.
Properties
- amplitude ↔ double
-
The amplitude of the waveform.
getter/setter pair
- color ↔ Color
-
The color of the iOS 7 style waveform.
getter/setter pair
- frequency ↔ int
-
The frequency of the iOS 7 style waveform.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- speed ↔ double
-
The speed of the waveform.
getter/setter pair
Methods
-
lerp(
) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setAmplitude(
double newAmplitude) → void -
Set a new interpolated value for the
amplitude
. -
setColor(
Color newColor) → void -
Set a new color for the
color
. -
setFrequency(
int newFrequency) → void -
Set a new value for the
frequency
. -
setSpeed(
double newSpeed) → void -
Set a new interpolated value for the
speed
. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited