DraggableFloatWidget constructor

const DraggableFloatWidget({
  1. Key? key,
  2. double width = defaultWidgetWidth,
  3. double height = defaultWidgetHeight,
  4. StreamController<OperateEvent>? eventStreamController,
  5. DraggableFloatWidgetBaseConfig config = const DraggableFloatWidgetBaseConfig(),
  6. required Widget? child,
  7. GestureTapCallback? onTap,
})

Implementation

const DraggableFloatWidget({
  Key? key,
  this.width = defaultWidgetWidth,
  this.height = defaultWidgetHeight,
  this.eventStreamController,
  this.config = const DraggableFloatWidgetBaseConfig(),
  required this.child,
  this.onTap,
}) : super(key: key);