DragInput constructor

DragInput({
  1. required Shape shape,
  2. bool? endOnCancel,
  3. HitBehavior? behavior,
  4. Vector2? position,
  5. Vector2? scale,
  6. double? angle,
  7. Anchor? anchor,
  8. bool? enabled,
  9. int? priority,
  10. Iterable<Node> children = const [],
})

Implementation

DragInput({
  required super.shape,
  bool? endOnCancel,
  super.behavior,
  super.position,
  super.scale,
  super.angle,
  super.anchor,
  super.enabled,
  super.priority,
  super.children,
}) : endOnCancel = endOnCancel ?? false;