DragToShrink.navigatorPop constructor

const DragToShrink.navigatorPop({
  1. Key? key,
  2. required Widget child,
  3. double? stretchOffset = 100 / 2,
  4. double? maxBorderRadius,
  5. ResizeDecorator? resizeDecorator,
})

When the stretchOffset is reached, this view is popped off the Navigator stack

Implementation

const DragToShrink.navigatorPop({
  Key? key,
  required this.child,
  this.stretchOffset = 100 / 2,
  this.maxBorderRadius,
  this.resizeDecorator,
})  : onStretch = _navigatorPop,
      super(key: key);