LabelConfiguration constructor

const LabelConfiguration({
  1. bool useCustomLabel = true,
  2. bool showDefaultLabel = false,
  3. Color backgroundColor = Colors.black,
  4. TextStyle textStyle = const TextStyle(fontSize: 12.0, color: Colors.white),
  5. double? verticalOffset,
  6. double horizontalTextOffset = 0,
  7. double width = 40,
  8. double height = 24,
  9. double radius = 5,
  10. String? imagePath,
  11. double imageHorizontalOffset = 0,
})

Implementation

const LabelConfiguration({
  this.useCustomLabel = true,
  this.showDefaultLabel = false,
  this.backgroundColor = Colors.black,
  this.textStyle = const TextStyle(fontSize: 12.0, color: Colors.white),
  this.verticalOffset,
  this.horizontalTextOffset = 0,
  this.width = 40,
  this.height = 24,
  this.radius = 5,
  this.imagePath,
  this.imageHorizontalOffset = 0,
});