DetectionOutlineConfig constructor

DetectionOutlineConfig({
  1. double padding = 10,
  2. double margin = 5,
  3. double outlineWidth = 2,
  4. double cornerRadius = 5,
  5. Color activeOutlineColor = Colors.green,
  6. Color inactiveOutlineColor = const Color.fromRGBO(255, 255, 255, 0.2),
  7. bool enableLabel = true,
  8. DetectionLabelPosition labelPosition = DetectionLabelPosition.bottomLeft,
  9. Color labelColor = Colors.white,
  10. double labelSize = 12,
})

Implementation

DetectionOutlineConfig({
  this.padding = 10,
  this.margin = 5,
  this.outlineWidth = 2,
  this.cornerRadius = 5,
  this.activeOutlineColor = Colors.green,
  this.inactiveOutlineColor = const Color.fromRGBO(255, 255, 255, 0.2),
  this.enableLabel = true,
  this.labelPosition = DetectionLabelPosition.bottomLeft,
  this.labelColor = Colors.white,
  this.labelSize = 12,
});