Skip to content

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

License

Notifications You must be signed in to change notification settings

raj457036/Flutter-Popups

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published