cache_video_player 0.0.3+3 cache_video_player: ^0.0.3+3 copied to clipboard
Flutter plugin for displaying inline video with other Flutter widgets on Android With Cache capability.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add cache_video_player
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
cache_video_player: ^0.0.3+3
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:cache_video_player/interface/messages.dart';
import 'package:cache_video_player/interface/method_channel_video_player.dart';
import 'package:cache_video_player/interface/video_player_platform_interface.dart';
import 'package:cache_video_player/main.dart';
import 'package:cache_video_player/pigeon.dart';
import 'package:cache_video_player/player/src/closed_caption_file.dart';
import 'package:cache_video_player/player/src/sub_rip.dart';
import 'package:cache_video_player/player/video_player.dart';