external_link_account_modal 1.0.0 copy "external_link_account_modal: ^1.0.0" to clipboard
external_link_account_modal: ^1.0.0 copied to clipboard

PlatformiOS

An easy-to-use widget that complies with Apple's External Link Account requirements for reader apps

example/lib/main.dart

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

void main() {
  WidgetsFlutterBinding.ensureInitialized();
  runApp(const MyApp());
}

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

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'External Link Account Modal Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: const MyHomePage(),
    );
  }
}

class MyHomePage extends StatelessWidget {
  const MyHomePage({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(),
      body: const Center(
        child: ExternalLinkAccountText(
          url: 'https://example.com',
          developerName: 'Example Developer',
          locale: 'en',
        ),
      ),
    );
  }
}
4
likes
140
pub points
55%
popularity
screenshot

Publisher

verified publisherapps.arvidnystrom.se

An easy-to-use widget that complies with Apple's External Link Account requirements for reader apps

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

device_info_plus, devicelocale, flutter, plugin_platform_interface, url_launcher

More

Packages that depend on external_link_account_modal