custom_preload_videos 0.0.12
custom_preload_videos: ^0.0.12 copied to clipboard
A Flutter plugin designed to preload and cache videos for smooth playback within a PageView. It helps to eliminate buffering and provides a seamless video viewing experience by managing video assets p [...]
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add custom_preload_videosThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
custom_preload_videos: ^0.0.12Alternatively, 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:custom_preload_videos/interface/controller_interface.dart';
import 'package:custom_preload_videos/my_custom_controller_impl/my_video_controller.dart';
import 'package:custom_preload_videos/preload_videos.dart';