ComposeTargetId.custom constructor

const ComposeTargetId.custom(
  1. WidgetLocator customLocator, {
  2. String? traitId,
  3. int? elementIndex,
})

Creates an instance of ComposeTargetId with a custom locator function.

Implementation

const ComposeTargetId.custom(
  WidgetLocator customLocator, {
  this.traitId,
  int? elementIndex,
}) : super.custom(customLocator, elementIndex: elementIndex);