UArMeasure constructor

const UArMeasure({
  1. UArMeasureUnit unit = UArMeasureUnit.metric,
  2. bool closeShape = false,
  3. Color? lineColor,
  4. Color? pointColor,
  5. void onChanged(
    1. List<UArVector3> points,
    2. double total,
    3. double area
    )?,
  6. UArLabels labels = const UArLabels(),
  7. UArStyle style = const UArStyle(),
  8. bool showCloseButton = true,
  9. Key? key,
})

Implementation

const UArMeasure({
  this.unit = UArMeasureUnit.metric,
  this.closeShape = false,
  this.lineColor,
  this.pointColor,
  this.onChanged,
  this.labels = const UArLabels(),
  this.style = const UArStyle(),
  this.showCloseButton = true,
  super.key,
});