direct_link 0.2.4 copy "direct_link: ^0.2.4" to clipboard
direct_link: ^0.2.4 copied to clipboard

Direct link extractor from URL to stream and download directly.

example/lib/main.dart

import 'package:example/core/router/router_config.dart';
import 'package:flutter/material.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';

void main() {
  WidgetsFlutterBinding.ensureInitialized();

  runApp(const ProviderScope(child: MyApp()));
}

class MyApp extends ConsumerWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context, WidgetRef ref) {
    final router = ref.watch(routerConfigProvider);

    return MaterialApp.router(
      title: 'Direct Link',
      darkTheme: ThemeData.dark(useMaterial3: true),
      theme: ThemeData.light(useMaterial3: true),
      debugShowCheckedModeBanner: false,
      routerDelegate: router.routerDelegate,
      routeInformationParser: router.routeInformationParser,
      routeInformationProvider: router.routeInformationProvider,
    );
  }
}
73
likes
150
points
172
downloads

Publisher

unverified uploader

Weekly Downloads

Direct link extractor from URL to stream and download directly.

Repository (GitHub)
View/report issues

Documentation

API reference

Funding

Consider supporting this project:

paypal.me
ko-fi.com

License

MIT (license)

Dependencies

flutter, flutter_inappwebview, html, puppeteer

More

Packages that depend on direct_link