xuyanwen_super_player 12.7.1
xuyanwen_super_player: ^12.7.1 copied to clipboard
The super_player Flutter plugin is one of the sub-product SDKs of the audio/video terminal SDK (Tencent Cloud Video on Demand).
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add xuyanwen_super_playerThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
xuyanwen_super_player: ^12.7.1Alternatively, 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:xuyanwen_super_player/Core/common/common_config.dart';
import 'package:xuyanwen_super_player/Core/common/tx_extension.dart';
import 'package:xuyanwen_super_player/Core/provider/txplayer_holder.dart';
import 'package:xuyanwen_super_player/Core/superplayer_plugin.dart';
import 'package:xuyanwen_super_player/Core/tools/common_utils.dart';
import 'package:xuyanwen_super_player/Core/tools/log_utils.dart';
import 'package:xuyanwen_super_player/Core/txliveplayer_config.dart';
import 'package:xuyanwen_super_player/Core/txliveplayer_controller.dart';
import 'package:xuyanwen_super_player/Core/txplayer_controller.dart';
import 'package:xuyanwen_super_player/Core/txplayer_define.dart';
import 'package:xuyanwen_super_player/Core/txplayer_messages.dart';
import 'package:xuyanwen_super_player/Core/txplayer_widget.dart';
import 'package:xuyanwen_super_player/Core/txvoddownload_controller.dart';
import 'package:xuyanwen_super_player/Core/txvodplayer_config.dart';
import 'package:xuyanwen_super_player/Core/txvodplayer_controller.dart';
import 'package:xuyanwen_super_player/super_player.dart';