Popup Ads is a Flutter Widget Package to show banners/ads in your flutter app using modal dialog. Popup Ads helps to show modal images of either local or network images.
- Show single or multiple asset or network images
- Custom Dot Indicator Colors
- Slidable Images Banner
To use this plugin, add popupads
as a dependency in your pubspec.yaml file 🔗.
dependencies:
popupads: ^1.0.0
bool isActive = true;
PopupAds(
images: [
'assets/images/slimpotatoboy.png',
'assets/images/slimpotatoboy2.png'
],
onClose: () {
setState((){
isActive =false;
})
},
dotActiveColor: Colors.red,
dotInactiveColor: Colors.black,
bannerOpen: isActive,
),
Any new Contributors are welcomed.
Inspired from popup_banner