FloatingParams constructor
const
FloatingParams({
- bool enablePositionCache = true,
- bool isSnapToEdge = true,
- bool isDragEnable = true,
- bool isShowLog = false,
- double dragOpacity = 0.3,
- double marginTop = 0,
- double marginBottom = 0,
- double snapToEdgeSpace = 0,
- int snapToEdgeSpeed = 250,
- SnapEdgeType snapEdgeType = SnapEdgeType.snapEdgeAuto,
- 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,
});