const Friction(double value, {double? end, this.curve = Curves.linear}) : start = value, end = end ?? value;