FloatingParams constructor

const FloatingParams({
  1. bool enablePositionCache = true,
  2. bool isSnapToEdge = true,
  3. bool isDragEnable = true,
  4. bool isShowLog = false,
  5. double dragOpacity = 0.3,
  6. double marginTop = 0,
  7. double marginBottom = 0,
  8. double snapToEdgeSpace = 0,
  9. int snapToEdgeSpeed = 250,
  10. SnapEdgeType snapEdgeType = SnapEdgeType.snapEdgeAuto,
  11. int notifyThrottleMs = 16,
})

Implementation

const FloatingParams({
  this.enablePositionCache = true,
  this.isSnapToEdge = true,
  this.isDragEnable = true,
  this.isShowLog = false,
  this.dragOpacity = 0.3,
  this.marginTop = 0,
  this.marginBottom = 0,
  this.snapToEdgeSpace = 0,
  this.snapToEdgeSpeed = 250,
  this.snapEdgeType = SnapEdgeType.snapEdgeAuto,
  this.notifyThrottleMs = 16,
});