tick method
- double nowMs
Um tique do relógio: a cápsula em curso enche até a posição nowMs.
Implementation
void tick(double nowMs) {
final hold = state.shape.hold;
if (hold == null) return;
emit(state.copyWith(fill: holdFractionAt(hold, nowMs)));
}