FloatingView constructor
const
FloatingView(
- Widget child,
- FloatingData floatingData,
- bool isPosCache,
- bool isSnapToEdge,
- List<
FloatingEventListener> _listener, - ScrollPositionControl _scrollPositionControl,
- CommonControl _commonControl,
- FloatingLog _log, {
- Key? key,
- double slideTopHeight = 0,
- double slideBottomHeight = 0,
- double moveOpacity = 0.3,
- int edgeSpeed = 0,
- SlideStopType slideStopType = SlideStopType.slideStopAutoType,
- int openAnimationDuration = 300,
- 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);