Fix x-axis direction in Offset.direction doc (flutter/engine#21208)

Specify that the positive x direction is right, as opposed to left.
This commit is contained in:
Thore Goebel
2020-09-16 16:57:44 +02:00
committed by GitHub
parent 3f3ec36722
commit 1290089227

View File

@@ -155,7 +155,7 @@ class Offset extends OffsetBase {
/// The angle of this offset as radians clockwise from the positive x-axis, in
/// the range -[pi] to [pi], assuming positive values of the x-axis go to the
/// left and positive values of the y-axis go down.
/// right and positive values of the y-axis go down.
///
/// Zero means that [dy] is zero and [dx] is zero or positive.
///