CompositedTransformFollower constructor

const CompositedTransformFollower(
  1. {Key? key,
  2. required LayerLink link,
  3. bool showWhenUnlinked = true,
  4. Offset offset = Offset.zero,
  5. Alignment targetAnchor = Alignment.topLeft,
  6. Alignment followerAnchor = Alignment.topLeft,
  7. Widget? child}
)

Creates a composited transform target widget.

If the link property 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.

Implementation

const CompositedTransformFollower({
  super.key,
  required this.link,
  this.showWhenUnlinked = true,
  this.offset = Offset.zero,
  this.targetAnchor = Alignment.topLeft,
  this.followerAnchor = Alignment.topLeft,
  super.child,
});