Correct the docs for Size.lerp. (flutter/engine#3653)

This commit is contained in:
Ian Hickson
2017-05-06 21:07:13 -07:00
committed by GitHub
parent c4013f0a5e
commit fa260ad401

View File

@@ -490,7 +490,7 @@ class Size extends OffsetBase {
/// Linearly interpolate between two sizes
///
/// If either size is null, this function interpolates from [Offset.zero].
/// If either size is null, this function interpolates from [Size.zero].
static Size lerp(Size a, Size b, double t) {
if (a == null && b == null)
return null;