multiplication method Null safety

double multiplication(
  1. double s,
  2. double f
)

Multiply the provided stop s by the provided animation factor f, claming between 0..1.

Implementation

static double multiplication(double s, double f) => (s * f).clamp(0, 1);