Commit 845c50be authored by Adam Barth's avatar Adam Barth

Improve comments describing FractionalOffset

Fixes #1702
parent 95803ebb
...@@ -740,8 +740,8 @@ abstract class RenderBoxContainerDefaultsMixin<ChildType extends RenderBox, Pare ...@@ -740,8 +740,8 @@ abstract class RenderBoxContainerDefaultsMixin<ChildType extends RenderBox, Pare
/// An offset that's expressed as a fraction of a Size. /// 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, 0.0) represents the top right of the Size,
/// FractionalOffset(1.0, 1.0) represents the bottom right of the Size. /// FractionalOffset(0.0, 1.0) represents the bottom left of the Size,
class FractionalOffset { class FractionalOffset {
const FractionalOffset(this.x, this.y); const FractionalOffset(this.x, this.y);
final double x; final double x;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment