CompositedTransformFollower constructor Null safety
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 CompositedTransformFollower({
super.key,
required this.link,
this.showWhenUnlinked = true,
this.offset = Offset.zero,
this.targetAnchor = Alignment.topLeft,
this.followerAnchor = Alignment.topLeft,
super.child,
}) : assert(link != null),
assert(showWhenUnlinked != null),
assert(offset != null),
assert(targetAnchor != null),
assert(followerAnchor != null);