PTZControlPanel constructor

const PTZControlPanel({
  1. Key? key,
  2. dynamic onDirectionStart(
    1. String direction
    )?,
  3. dynamic onDirectionStop(
    1. String direction
    )?,
  4. dynamic onCenterTap()?,
  5. double size = 200,
  6. Color backgroundColor = Colors.black26,
  7. Color activeColor = Colors.blue,
  8. Color borderColor = Colors.white,
  9. Widget? centerIcon,
})

Implementation

const PTZControlPanel({
  super.key,
  this.onDirectionStart,
  this.onDirectionStop,
  this.onCenterTap,
  this.size = 200,
  this.backgroundColor = Colors.black26,
  this.activeColor = Colors.blue,
  this.borderColor = Colors.white,
  this.centerIcon,
});