docs: update Cubic constructor doc. (#103555)

This commit is contained in:
Danilo Rêgo 2022-05-12 20:14:08 -03:00 committed by GitHub
parent 190d77627d
commit 4fc15c851a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -302,7 +302,7 @@ class Cubic extends Curve {
/// Rather than creating a new instance, consider using one of the common
/// cubic curves in [Curves].
///
/// The [a] (x1), [b](x2), [c](y1), and [d](y2) arguments must not be null.
/// The [a] (x1), [b] (y1), [c] (x2) and [d] (y2) arguments must not be null.
const Cubic(this.a, this.b, this.c, this.d)
: assert(a != null),
assert(b != null),