This commit is contained in:
Abhishek Ghaskata
2021-04-19 23:54:01 +05:30
committed by GitHub
parent 98425734ff
commit c65d620deb

View File

@@ -9,7 +9,7 @@ part of dart.ui;
/// Linearly interpolate between two numbers, `a` and `b`, by an extrapolation
/// factor `t`.
///
/// When `a` and `b` are equal or both NaN, `a` is returned. Otherwise, if
/// When `a` and `b` are equal or both NaN, `a` is returned. Otherwise,
/// `a`, `b`, and `t` are required to be finite or null, and the result of `a +
/// (b - a) * t` is returned, where nulls are defaulted to 0.0.
double? lerpDouble(num? a, num? b, double t) {