dialog_pp_flutter 1.0.3 dialog_pp_flutter: ^1.0.3 copied to clipboard
Perosnal Use
Add in void main #
await PPDialog.newVersionCode();
Get Version Code Details #
print(AppDetailsPP.to.appName.value);
print(AppDetailsPP.to.packageName.value);
print(AppDetailsPP.to.versionApp.value);
print(AppDetailsPP.to.buildNumber.value);
Update Dialog #
Custom Update Dialog #
PPDialog.updateDialog(context,isPopupRequired: true
,
isPopup: true
,
apiVersionCode: 3
,
appLogoApi:"
https://play-lh.googleusercontent.com/c2DcVsBUhJb3UlAGABHwafpuhstHwORpVwWZ0RvWY7NPrgdtT2o4JRhcyO49ehhUNRca=w240-h480-rw
"
,
appNameApi: "
Instagram
"
,
subtitleAppApi:"
Share videos, photos, and fun moments with the friends you love
"
,
appWebsiteUrl:"
https://play.google.com/store/apps/details?id=com.instagram.android
"
,
);
Auto Update Dialog #
PPDialog.autoUpdate();
Drawer #
drawer Api Call #
await advertisementDrawerApi
(
"
enter more live url drawer api
"
);
drawer ui #
PPDialog.drawerScreen(appLogo: "
"
,
privacyPolicy:"
"
,
feedbackEmailId: "
"
,
emailSubject: "
"
,
emailMessage:"
"
)
Rate #
Auto Rate Dialog #
PPDialog.autoRate();
Rate Dialog Custom #
PPDialog.rateDialogCustom(context,logoApp: "");
Reward Dialog #
PPDialog.rewardDialog(
rewardMessage: "Watch Reward ads for get IPTV list free",
onTap: () {},
);
);
Exit Dialog #
PPDialog.exitDialog(
mediumNative: Container(
alignment: Alignment.center,
height: 170.h,
color: Colors.green[200],
child: Text("Medium Size Native Ad"),
),
appLogo: '');
Terms & Condition Dialog #
PPDialog.termsConditions(context,
privacyPolicyUrl: "",
termsConditionUrl: "",
isPrivacyPolicy: );