ComposeTargetId constructor
Creates an instance of ComposeTargetId.
Either type or key must be set, or both.
Implementation
const ComposeTargetId({
this.traitId,
Type? type,
Key? key,
int? elementIndex,
}) : super(type: type, key: key, elementIndex: elementIndex);