addition method Null safety

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

Add the provided animation value f to the provided stop s, claming between 0..1.

Implementation

static double addition(double s, double f) => (s + f).clamp(0, 1);