flutter_drag_to_pop

Tap a widget for fullscreen display and drag around to pop

Demo

Getting Started

  1. include the package to your project as dependency:
dependencies:
  	flutter_drag_to_pop: <latest version>
  1. Use the widget
    DragToPop(
      closeWidget: ClipRRect(
        borderRadius: BorderRadius.circular(24.0),
        child: Image.network(
          'https://th.bing.com/th/id/OIP.eGeQuTMPlWngOAWRCV-LjQHaE8?pid=Api&rs=1',
        ),
      ),
      openWidget: Image.network(
        'https://th.bing.com/th/id/OIP.eGeQuTMPlWngOAWRCV-LjQHaE8?pid=Api&rs=1',
      ),
      openOverlayWidget: Column(
        children: [
          AppBar(
            leading: CloseButton(),
            elevation: 0.0,
            backgroundColor: Colors.transparent,
          )
        ],
      ),
      openBackgroundColor: Colors.grey,
    );

Libraries

flutter_drag_to_pop
flutter_drag_to_pop
full_screen_modal
helper
widget_with_drag_control