liplayer 0.0.1 liplayer: ^0.0.1 copied to clipboard
因为 fijkplayer 没人维护,我自己新建了一个项目,来适配新版本的 flutter.
import 'package:flutter/material.dart';
import 'home_page.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatefulWidget {
const MyApp({super.key});
@override
State<MyApp> createState() => _MyAppState();
}
class _MyAppState extends State<MyApp> {
@override
void initState() {
super.initState();
}
@override
Widget build(BuildContext context) {
// LiLog.setLevel(LiLogLevel.Debug);
return MaterialApp(
theme: ThemeData(
primaryColor: const Color(0xFFffd54f),
primaryColorDark: const Color(0xFFffc107),
primaryColorLight: const Color(0xFFffecb3),
dividerColor: const Color(0xFFBDBDBD),
),
home: const HomeScreen(),
);
}
}