up method
void
up({
- required SpringDescription spring,
- SpringDescription? shapeSpring,
- bool reduceMotion = false,
Releases the key on the spring (release), no earlier than
CalcThemeData.minPress after down. With reduceMotion, p jumps to
0 and the tint fades out on effectsFast.
Implementation
void up({
required SpringDescription spring,
SpringDescription? shapeSpring,
bool reduceMotion = false,
}) {
if (!_down) return;
_releaseSpring = spring;
_shapeSpring = shapeSpring;
_releaseReduced = reduceMotion;
if (_minElapsed) {
_release();
} else {
_releasePending = true;
}
}