Improve comments describing FractionalOffset

Fixes #1702
This commit is contained in:
Adam Barth 2015-10-20 16:10:06 -07:00
parent 95803ebbf8
commit 845c50be9e

View File

@ -740,8 +740,8 @@ abstract class RenderBoxContainerDefaultsMixin<ChildType extends RenderBox, Pare
/// An offset that's expressed as a fraction of a Size.
///
/// FractionalOffset(0.0, 0.0) represents the top left of the Size,
/// FractionalOffset(1.0, 1.0) represents the bottom right of the Size.
/// FractionalOffset(1.0, 0.0) represents the top right of the Size,
/// FractionalOffset(0.0, 1.0) represents the bottom left of the Size,
class FractionalOffset {
const FractionalOffset(this.x, this.y);
final double x;