CompositedTransformTarget constructor

const CompositedTransformTarget(
  1. {Key key,
  2. @required LayerLink link,
  3. Widget child}
)

Creates a composited transform target widget.

The link property must not be null, and must not be currently being used by any other CompositedTransformTarget object that is in the tree.

Implementation

const CompositedTransformTarget({
  Key key,
  @required this.link,
  Widget child,
}) : assert(link != null),
     super(key: key, child: child);