ios_open_subscriptions_settings 0.0.4 copy "ios_open_subscriptions_settings: ^0.0.4" to clipboard
ios_open_subscriptions_settings: ^0.0.4 copied to clipboard

PlatformiOS

A Flutter plugin for opening iOS phone settings subscriptions from an app.

example/lib/main.dart

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

void main() {
  runApp(const MyApp());
}

class MyApp extends StatefulWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  State<MyApp> createState() => _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('OS Open Subscriptions Settings'),
        ),
        body: const ElevatedButton(
          onPressed: IosOpenSubscriptionsSettings.openSubscriptionsSettings,
          child: Text('Open Subscriptions Settings'),
        )
      ),
    );
  }
}
3
likes
150
points
608
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter plugin for opening iOS phone settings subscriptions from an app.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on ios_open_subscriptions_settings