DraggableResizable constructor
DraggableResizable({
- Key? key,
- required Widget child,
- required Size size,
- VoidCallback? onTap,
- BoxConstraints? constraints,
- Offset initialPosition = Offset.zero,
- void onUpdate()?,
- ValueSetter<
ScaleUpdateDetails> ? onScaleUpdate, - VoidCallback? onStart,
- VoidCallback? onEnd,
- bool canTransform = false,
Implementation
DraggableResizable({
Key? key,
required this.child,
required this.size,
this.onTap,
BoxConstraints? constraints,
this.initialPosition = Offset.zero,
this.onUpdate,
this.onScaleUpdate,
this.onStart,
this.onEnd,
this.canTransform = false,
}) : constraints = constraints ?? BoxConstraints.loose(Size.infinite),
super(key: key);