RenderLeaderLayer constructor

RenderLeaderLayer({@required LayerLink link, RenderBox child })

Creates a render object that uses a LeaderLayer.

The link must not be null.

Implementation

RenderLeaderLayer({
  @required LayerLink link,
  RenderBox child,
}) : assert(link != null),
     super(child) {
  this.link = link;
}