RelativeRect.fromLTRB constructor

const RelativeRect.fromLTRB(double left, double top, double right, 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);