CompositedTransformFollower constructor
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({
Key key,
@required this.link,
this.showWhenUnlinked = true,
this.offset = Offset.zero,
Widget child,
}) : assert(link != null),
assert(showWhenUnlinked != null),
assert(offset != null),
super(key: key, child: child);