CompositedTransformTarget constructor

const CompositedTransformTarget({Key key, @required LayerLink link, 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);