MorphTag constructor
Creates an identity tag around child.
Implementation
const MorphTag({
super.key,
required this.id,
required this.child,
this.spec,
this.shape = const RoundedRectangleBorder(),
this.surfaceColor,
this.elevation = 0,
this.replica,
this.bumpScale,
this.bumpRecoil,
this.snapshotGhost = false,
}) : assert(elevation >= 0, 'elevation cannot be negative.');