youtube_results 0.1.1
youtube_results: ^0.1.1 copied to clipboard
youtube_results is a lightweight Flutter & Dart package for fetching YouTube search results, videos, Shorts, channels, playlists, and related videos via the YouTube Data API.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add youtube_resultsThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
youtube_results: ^0.1.1Alternatively, 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:youtube_results/youtube_results.dart';