amplitude property
double
get
amplitude
Implementation
double get amplitude => _amplitude;
set
amplitude
(double value)
Implementation
set amplitude(double value) {
// Clamp the amplitude usually between 0.0 and 1.0 but allow slight overshoots for bounciness.
if (_amplitude != value) {
_amplitude = value;
notifyListeners();
}
}