flutter_preload_videos
用于减少视频初始化的预加载逻辑
演示 ?

逻辑?

用法 ?
要克隆并运行此应用程序,您需要在计算机上安装git和flutter。在您的命令行中
# Clone this repository
$ git clone https://github.com/Shadow60539/flutter_preload_videos.git
# Go into the repository
$ cd flutter_preload_videos.git
# Install dependencies
$ flutter packages get
# Run the app
$ flutter run
软件包 ?
| 包 | 描述 |
|---|---|
| video_player | 在Flutter中渲染视频 |
| build_runner | 构建自定义模型 |
| flutter_bloc | BLoC状态管理 |
| freezed | 不可变类的代码生成 |
目录结构 ?
项目目录结构如下
├── android
├── asset
├── build
├── images
├── ios
├── lib
├── test
├── analysis_options.yaml
├── pubspec.lock
├── pubspec.yaml