FloatingView constructor

const FloatingView(
  1. Widget child,
  2. FloatingData floatingData,
  3. bool isPosCache,
  4. bool isSnapToEdge,
  5. List<FloatingEventListener> _listener,
  6. ScrollPositionControl _scrollPositionControl,
  7. CommonControl _commonControl,
  8. FloatingLog _log, {
  9. Key? key,
  10. double slideTopHeight = 0,
  11. double slideBottomHeight = 0,
  12. double moveOpacity = 0.3,
  13. int edgeSpeed = 0,
  14. SlideStopType slideStopType = SlideStopType.slideStopAutoType,
  15. int openAnimationDuration = 300,
  16. FloatingAnimationType openAnimationType = FloatingAnimationType.scale,
})

Implementation

const FloatingView(this.child, this.floatingData, this.isPosCache, this.isSnapToEdge,
    this._listener, this._scrollPositionControl, this._commonControl, this._log,
    {Key? key,
    this.slideTopHeight = 0,
    this.slideBottomHeight = 0,
    this.moveOpacity = 0.3,
    this.edgeSpeed = 0,
    this.slideStopType = SlideStopType.slideStopAutoType,
    this.openAnimationDuration = 300,
    this.openAnimationType = FloatingAnimationType.scale})
    : super(key: key);