linkplus 0.0.2 copy "linkplus: ^0.0.2" to clipboard
linkplus: ^0.0.2 copied to clipboard

PlatformAndroidiOS
unlisted

A Flutter plugin for handling deep links on Android and iOS. Supports both custom URL schemes and universal links for seamless cross-platform navigation.

example/lib/main.dart

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

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

class MyApp extends StatefulWidget {
  const MyApp({super.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('LinkPlus'),
        ),
        body: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          crossAxisAlignment: CrossAxisAlignment.center,
          mainAxisSize: MainAxisSize.min,
          children: [
            InkWell(
              onTap: () {
                LinkPlus().init().then((link) {
                  debugPrint(link.toString());
                });
              },
              child: Text(
                'Get Initial Link',
              ),
            ),
            SizedBox(
              height: 40,
            ),
            InkWell(
              onTap: () {
                LinkPlus().listen((link) {
                  debugPrint(link.toString());
                });
              },
              child: Text(
                'Start Listen Link',
              ),
            ),
          ],
        ),
      ),
    );
  }
}
22
likes
160
points
229
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter plugin for handling deep links on Android and iOS. Supports both custom URL schemes and universal links for seamless cross-platform navigation.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on linkplus

Packages that implement linkplus