DragToShrink constructor

const DragToShrink({
  1. Key? key,
  2. required Widget child,
  3. double? stretchOffset,
  4. StretchCallback? onStretch,
  5. double? maxBorderRadius,
  6. ResizeDecorator? resizeDecorator,
})

Implementation

const DragToShrink({
  Key? key,
  required this.child,
  this.stretchOffset,
  this.onStretch,
  this.maxBorderRadius,
  this.resizeDecorator,
}) : super(key: key);