Popup Ads for Flutter
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.
Features
- Show single or multiple asset or network images
- Custom Dot Indicator Colors
- Slidable Images Banner
Getting started
To use this plugin, add popupads
as a dependency in your pubspec.yaml file 🔗.
dependencies:
popupads: ^1.0.0
Usage
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,
),
🚀 Contributors
Any new Contributors are welcomed.