press property

double get press

How pressed the bar is, 0 to 1: its wash and fingertip glow follow.

Implementation

double get press => _press.value.clamp(0.0, 1.0);