drag_to_shrink library

Classes

DragToShrink
A widget that shrinks when on drag down. It doesn't matter if you are dragging directly on the widget or not, the effect is the same.

Typedefs

ResizeDecorator = Widget Function(Widget widget)
Wraps the resizing widget
StretchCallback = Future<bool> Function(BuildContext context)
Returns true/false to determine whether the widget should continue checking for stretch threshold.