UArImageTrigger constructor

const UArImageTrigger({
  1. required List<UArImageTarget> targets,
  2. bool imageOnly = false,
  3. int maxTracked = 4,
  4. void onDetected(
    1. UArTrackedImage image
    )?,
  5. void onLost(
    1. UArTrackedImage image
    )?,
  6. UArLabels labels = const UArLabels(),
  7. UArStyle style = const UArStyle(),
  8. bool showCloseButton = true,
  9. Key? key,
})

Implementation

const UArImageTrigger({
  required this.targets,
  this.imageOnly = false,
  this.maxTracked = 4,
  this.onDetected,
  this.onLost,
  this.labels = const UArLabels(),
  this.style = const UArStyle(),
  this.showCloseButton = true,
  super.key,
});