DetectionOutlineConfig constructor
DetectionOutlineConfig({
- double padding = 10,
- double margin = 5,
- double outlineWidth = 2,
- double cornerRadius = 5,
- Color activeOutlineColor = Colors.green,
- Color inactiveOutlineColor = const Color.fromRGBO(255, 255, 255, 0.2),
- bool enableLabel = true,
- DetectionLabelPosition labelPosition = DetectionLabelPosition.bottomLeft,
- Color labelColor = Colors.white,
- 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,
});