peek_and_pop_dialog 0.0.2 copy "peek_and_pop_dialog: ^0.0.2" to clipboard
peek_and_pop_dialog: ^0.0.2 copied to clipboard

A Flutter Widget that shows a dialog on LongPressStart and Hides on LongPressEnd.

peek_and_pop_dialog #

A Flutter Widget that shows a dialog on LongPressStart and Hides on LongPressEnd.

Usage #

You just have to wrap the widget with PeekAndPopDialog Widget and don't forget the Dialog widget

return PeekAndPopDialog(
                  child: Container(
                    child: Text("Some Widget"),
                  ),
                  dialog: Container(
                    child: Text("The Dialog Widget"),
                    color: Colors.yellow,
                    height: 150.0,
                    width: 150.0,
                  ),
                );

Demo

Demo Demo

3
likes
140
pub points
37%
popularity

Publisher

verified publisherhadi.wtf

A Flutter Widget that shows a dialog on LongPressStart and Hides on LongPressEnd.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

equatable, flutter, flutter_bloc

More

Packages that depend on peek_and_pop_dialog