CompositedTransformFollower constructor

const CompositedTransformFollower({Key key, @required LayerLink link, bool showWhenUnlinked: true, Offset offset:, Widget child })

Creates a composited transform target widget.

The link property must not be null. If it was also provided to a CompositedTransformTarget, that widget must come earlier in the paint order.

The showWhenUnlinked and offset properties must also not be null.


const CompositedTransformFollower({
  Key key,
  this.showWhenUnlinked = true,
  this.offset =,
  Widget child,
}) : assert(link != null),
     assert(showWhenUnlinked != null),
     assert(offset != null),
     super(key: key, child: child);