waveHeight property
double
get
waveHeight
Implementation
double get waveHeight {
final amp =
(_state.amplitude * 0.75) +
(_state.breath * 0.2) +
(_state.neuro * 0.15);
return amp.clamp(0.0, 1.0) * visualAmplitudeMax;
}