flutter_surface_plugin 0.0.1 flutter_surface_plugin: ^0.0.1 copied to clipboard
flutter 基于gsy二次封装的播放器,底层依旧是ijk
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add flutter_surface_plugin
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
flutter_surface_plugin: ^0.0.1
Alternatively, 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:flutter_surface_plugin/core/fijklog.dart';
import 'package:flutter_surface_plugin/core/fijkoption.dart';
import 'package:flutter_surface_plugin/core/fijkplayer.dart';
import 'package:flutter_surface_plugin/core/fijkplugin.dart';
import 'package:flutter_surface_plugin/core/fijkvalue.dart';
import 'package:flutter_surface_plugin/core/fijkview.dart';
import 'package:flutter_surface_plugin/core/fijkvol.dart';
import 'package:flutter_surface_plugin/fijk2player.dart';
import 'package:flutter_surface_plugin/ui/panel.dart';
import 'package:flutter_surface_plugin/ui/panel2.dart';
import 'package:flutter_surface_plugin/ui/slider.dart';
import 'package:flutter_surface_plugin/ui/volume.dart';