📜  颤振打开应用程序评级 - 任何代码示例

📅  最后修改于: 2022-03-11 14:58:32.633000             🧑  作者: Mango

代码示例1
import 'package:url_launcher/url_launcher.dart';

try {
  launch("market://details?id=" + appPackageName);
} on PlatformException catch(e) {
    launch("https://play.google.com/store/apps/details?id=" + appPackageName);        
} finally {
  launch("https://play.google.com/store/apps/details?id=" + appPackageName);        
}