flutter_install_app_plugin 0.5.0 copy "flutter_install_app_plugin: ^0.5.0" to clipboard
flutter_install_app_plugin: ^0.5.0 copied to clipboard

A Flutter plug-in helps to install other iOS and Android apps on AppStore, Google Play or other stores.

example/lib/main.dart

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

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

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

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

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
        home: Scaffold(
      appBar: AppBar(title: const Text('Plugin example app')),
      body: Center(
          child: ElevatedButton(
              onPressed: () {
                var app = AppSet()
                  ..iosAppId = 300915900
                  ..androidPackageName = 'com.skysoft.kkbox.android';
                FlutterInstallAppPlugin.installApp(app);
              },
              child: Text(
                'Install App',
                style: TextStyle(color: Colors.white),
              ))),
    ));
  }
}
17
likes
150
pub points
83%
popularity

Publisher

verified publisherzonble.net

A Flutter plug-in helps to install other iOS and Android apps on AppStore, Google Play or other stores.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, flutter_web_plugins, platform_detect

More

Packages that depend on flutter_install_app_plugin