RelativeRect.fromLTRB constructor

const RelativeRect.fromLTRB(
  1. double left,
  2. double top,
  3. double right,
  4. double bottom
)

Creates a RelativeRect with the given values.

The arguments must not be null.

Implementation

const RelativeRect.fromLTRB(this.left, this.top, this.right, this.bottom)
  : assert(left != null && top != null && right != null && bottom != null);