gwp_alpha_player 0.0.1 copy "gwp_alpha_player: ^0.0.1" to clipboard
gwp_alpha_player: ^0.0.1 copied to clipboard

outdated

一个透明播放器(适配Android, iOS平台).

gwp_alpha_player_example #

添加依赖 gwp_alpha_player: ^0.0.1

在使用播放器dart文件中导入 import 'package:gwp_alpha_player/gwp_alpha_player.dart';

Getting Started #

class _MyHomePageState extends State

void _incrementCounter() { _gwpAlphaPlayerPlugin.play( "https://oss.xingyaozhibo.com/xyapp/svga/v2/taikong.mp4", (url) { print("播放完成:${url}"); }); }

@override Widget build(BuildContext context) { double height = MediaQuery.of(context).size.height * 0.8; return Scaffold( appBar: AppBar( // Here we take the value from the MyHomePage object that was created by // the App.build method, and use it to set our appbar title. title: Text(widget.title), ), body: Column( mainAxisAlignment: MainAxisAlignment.center, children:

2
likes
0
points
14
downloads

Publisher

unverified uploader

Weekly Downloads

一个透明播放器(适配Android, iOS平台).

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on gwp_alpha_player

Packages that implement gwp_alpha_player