RenderFollowerLayer constructor
Creates a render object that uses a FollowerLayer.
The link
and offset
arguments must not be null.
Implementation
RenderFollowerLayer({
@required LayerLink link,
bool showWhenUnlinked = true,
Offset offset = Offset.zero,
RenderBox child,
}) : assert(link != null),
assert(showWhenUnlinked != null),
assert(offset != null),
super(child) {
this.link = link;
this.showWhenUnlinked = showWhenUnlinked;
this.offset = offset;
}