dialog_pp_flutter 1.0.17 copy "dialog_pp_flutter: ^1.0.17" to clipboard
dialog_pp_flutter: ^1.0.17 copied to clipboard

outdated

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,
isUpdateRequired: true,
adSettingAppVersionCode: 4,
isPopup: true,
apiVersionCode: 8,
appLogoApi: "",
appNameApi: "",
subtitleAppApi: "",
appWebsiteUrl: ""
);

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: 
  );

One Signal Notification #

      PPDialog.oneSignalNotification(oneSignalId: "");

In App Purchase #

      PPDialog.inAppPurchase(
                  onError:, 
                  onComplete: ,
                  productId: "");

Internet Connection Dialog #

  PPDialog.internetDialogCheck(callback: );