peek_and_pop_dialog 0.0.2 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