liplayer 0.0.2 copy "liplayer: ^0.0.2" to clipboard
liplayer: ^0.0.2 copied to clipboard

因为 fijkplayer 没人维护,我自己新建了一个项目,来适配新版本的 flutter.

example/lib/main.dart

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(),
    );
  }
}
2
likes
140
points
23
downloads

Publisher

unverified uploader

Weekly Downloads

因为 fijkplayer 没人维护,我自己新建了一个项目,来适配新版本的 flutter.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on liplayer