youtube_video_player 0.1.1 youtube_video_player: ^0.1.1 copied to clipboard
A versatile Flutter package that allows you to easily integrate a YouTube player into your Flutter applications.
import 'package:example/home.dart';
import 'package:flutter/material.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Flutter Demo',
theme: ThemeData(
//
//
//
colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
useMaterial3: true,
),
home: const Home(),
);
}
}