toRect method
Returns a rect of the same size as this box.
Implementation
Rect toRect() => new Rect.fromLTRB(left, top, right, bottom);
Returns a rect of the same size as this box.
Rect toRect() => new Rect.fromLTRB(left, top, right, bottom);