ytdlp_flutter 0.1.0
ytdlp_flutter: ^0.1.0 copied to clipboard
Run yt-dlp on-device from Flutter. Android via youtubedl-android (bundled Python + updatable yt-dlp), macOS via the official self-updating yt-dlp binary, iOS via an embedded CPython running a bundled yt-dlp.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add ytdlp_flutterThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
ytdlp_flutter: ^0.1.0Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:ytdlp_flutter/ytdlp_flutter.dart';