store_redirect 1.0.1 copy "store_redirect: ^1.0.1" to clipboard
store_redirect: ^1.0.1 copied to clipboard

outdated

A Flutter plugin to redirect users to an app page in Google Play Store and Apple App Store.

example/lib/main.dart

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

void main() => runApp(new MyApp());

class MyApp extends StatefulWidget {
  @override
  _MyAppState createState() => new _MyAppState();
}

class _MyAppState extends State<MyApp> {
  @override
  initState() {
    super.initState();
  }

  @override
  Widget build(BuildContext context) {
    return new MaterialApp(
        home: new Scaffold(
            appBar: new AppBar(title: new Text('Launch App Redirect')),
            body: new Center(
                child: new RaisedButton(
                    child: new Text("Redirect App"),
                    onPressed: () {
                      StoreRedirect.redirect(
                          androidAppId: "com.iyaffle.rangoli",
                          iOSAppId: "585027354");
                    }))));
  }
}
261
likes
0
pub points
99%
popularity

Publisher

verified publisherdanieldallos.com

A Flutter plugin to redirect users to an app page in Google Play Store and Apple App Store.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on store_redirect