An open API service indexing awesome lists of open source software.

https://github.com/raj457036/flutter-popups

popper.js like popups for flutter. A simple and tiny popup widget for flutter apps.
https://github.com/raj457036/flutter-popups

boostrap-popup-flutter fluter flutter-popup-widget flutter-popups popup

Last synced: 7 months ago
JSON representation

popper.js like popups for flutter. A simple and tiny popup widget for flutter apps.

Awesome Lists containing this project

README

        

# Simple Popup Flutter

A simple and tiny popup Widget to achive popup like **Bootstrap 4** or **popper.js** and more in flutter apps.

Flutter Popup

## Demo

Flutter popups demo

## How to use

```
import 'popup/popup.dart'

...

child: Popup(
content: Container() // any widget,
child: Icon(Icons.info) // child for trigger,
),

...
```

Thats it 😁

#### If You Liked add a Star 🌟🌟

## Advance Use

```
import 'popup/popup.dart'

...

PopupController _controller = PopupController();

...

child: Popup(
controller: _controller,
content: Container() // some widget,
child: Icon(Icons.info) // some triggering child,
size: Size(200.0, 300.0) // constraint width and height of popup,
caretSize: 6.0 // size of caret on popup,
rounded: true // add a border radius around popup (true by default),
)
...

openPopup() {
_controller.openPopup();
}

closePopup() {
_controller.closePopup();
}

isPopupOpened() {
return _controller.opened;
}
```

Thats it for now...

## Thank you

#### Add a Star ⭐✨ if You liked the Widget