FloatingWidget constructor

const FloatingWidget({
  1. Key? key,
  2. required Widget child,
  3. Duration? duration,
  4. Duration? reverseDuration,
  5. FloatingDirection? direction = FloatingDirection.topCenterToBottomCenter,
  6. double? horizontalSpace = 30,
  7. double? verticalSpace = 30,
  8. Offset? beginOffset,
  9. Offset? endOffset,
})

Implementation

const FloatingWidget(
    {Key? key,
    required this.child,
    this.duration,
    this.reverseDuration,
    this.direction = FloatingDirection.topCenterToBottomCenter,
    this.horizontalSpace = 30,
    this.verticalSpace = 30,
    this.beginOffset,
    this.endOffset})
    : super(key: key);