ReferenceAreaConfig constructor

const ReferenceAreaConfig({
  1. required Offset topLeft,
  2. required Offset bottomRight,
  3. Color? color,
  4. double? opacity,
  5. Color? borderColor,
  6. double? borderWidth,
  7. String? label,
  8. TextStyle? labelStyle,
  9. ReferenceAreaLabelPosition labelPosition = ReferenceAreaLabelPosition.topLeft,
})

Implementation

const ReferenceAreaConfig({
  required this.topLeft,
  required this.bottomRight,
  this.color,
  this.opacity,
  this.borderColor,
  this.borderWidth,
  this.label,
  this.labelStyle,
  this.labelPosition = ReferenceAreaLabelPosition.topLeft,
});