PointerConfig constructor

const PointerConfig({
  1. PointerStyle style = PointerStyle.triangle,
  2. Color color = Colors.red,
  3. double size = 20.0,
  4. PointerPosition position = PointerPosition.start,
  5. Widget? customPointer,
  6. Color? borderColor,
  7. double borderWidth = 0.0,
  8. bool hasShadow = true,
})

Creates a pointer configuration.

Implementation

// ignore: sort_constructors_first
const PointerConfig({
  this.style = PointerStyle.triangle,
  this.color = Colors.red,
  this.size = 20.0,
  this.position = PointerPosition.start,
  this.customPointer,
  this.borderColor,
  this.borderWidth = 0.0,
  this.hasShadow = true,
});