simple_update_dialog

Last updated:

0 purchases

simple_update_dialog Image
simple_update_dialog Images
Add to Cart

Description:

simple update dialog

simple_update_dialog #
A simple package for showing a paltform-specific dialog to promote users to update the app.
Usage #
To use this plugin, add simple_update_dialog as a dependency in your pubspec.yaml file.
Screenshots #


Example #

import 'package:flutter/material.dart';
import 'package:simple_update_dialog/simple_update_dialog.dart';

class HomePage extends StatelessWidget {
const HomePage({super.key});

@override
Widget build(BuildContext context) {
return Scaffold(
body: Center(
child: ElevatedButton(
onPressed: () {
SimpleUpdateDialog.showUpdateDialog(
context: context,
isForceUpdate: false,
dialogConfig: DialogConfig(
appStoreUrl: '',
playStoreUrl: '',
currentVersion: '1.0.0',
latestAndroidVersion: '1.0.1',
latestIOSVersion: '1.0.1',
minAndroidAppVerAllowed: '1.0.0',
minIOSAppVerAllowed: '1.0.0',
),
);
},
child: const Text("Show Update Dialog"),
),
),
);
}
}
copied to clipboard
See the example app for better understanding.

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.