flutter_drag_to_pop 0.0.5
flutter_drag_to_pop: ^0.0.5 copied to clipboard

Tap a widget for fullscreen display and drag around to pop

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,
    );
0
likes
80
pub points
19%
popularity

Tap a widget for fullscreen display and drag around to pop

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

ncluu95@gmail.com

License

BSD (LICENSE)

Dependencies

flutter

More

Packages that depend on flutter_drag_to_pop