mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Merge pull request #1703 from abarth/improve_comment
Improve comments describing FractionalOffset
This commit is contained in:
commit
82e0516a5d
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user