Skip to content

sondv301/youtube_box_thumbnail

Repository files navigation

Youtube Box Thumbnail

Package used to display video thumbnail box from youtube

Getting started

Depend on it

dependencies:
  youtube_box_thumbnail: ^1.0.1

Example

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

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

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

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      debugShowCheckedModeBanner: false,
      home: Scaffold(
        appBar: AppBar(
          title: const Text("Youtube box thumbnail - Example"),
        ),
        body: const YoutubeBoxThumbnail(
          url: "https://www.youtube.com/watch?v=LiM8IXH5eWE",
        ),
      ),
    );
  }
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published