CompositedTransformFollowerModifier constructor
const
CompositedTransformFollowerModifier({})
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.
Implementation
const CompositedTransformFollowerModifier({
super.key,
super.child,
super.modifierKey,
required this.link,
this.showWhenUnlinked = true,
this.offset = Offset.zero,
this.targetAnchor = Alignment.topLeft,
this.followerAnchor = Alignment.topLeft,
});