flick_video_player
0.9.0, released 2 years ago by geekyants.com
A customizable video player wrapper for Flutter that provides base architecture for custom UI.
What it does
Flick Video Player wraps the low-level video_player plugin and provides a manager-based architecture and custom UI components. It supports double-tap to seek, auto-hide controls, fullscreen toggling, playback speed changes, and keyboard shortcuts for web.
AI-written summary of version 0.9.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need a customizable video player with specific UI and control requirements.
- You want to build custom video player controls and layouts on top of video_player.
Skip it when
- You only need a basic video player and are completely satisfied with the default video_player UI.
- You need a dedicated YouTube player iframe implementation.
Strengths
- Highly customizable UI components and layout architecture.
- Supports web keyboard shortcuts and mobile gestures like double-tap to seek.
- Built-in managers handling state, control, and display logic.
Weaknesses
- Relies on video_player under the hood, inheriting its platform limitations.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 6
Add flick_video_player and video_player to pubspec.yaml and initialize a FlickManager.
import 'package:flutter/material.dart';
import 'package:flick_video_player/flick_video_player.dart';
import 'package:video_player/video_player.dart';
class SamplePlayer extends StatefulWidget {
SamplePlayer({Key? key}) : super(key: key);
@override
_SamplePlayerState createState() => _SamplePlayerState();
}
class _SamplePlayerState extends State<SamplePlayer> {
late FlickManager flickManager;
@override
void initState() {
super.initState();
flickManager = FlickManager(
videoPlayerController:
VideoPlayerController.networkUrl(Uri.parse("url")),
);
}
@override
void dispose() {
flickManager.dispose();
super.dispose();
}
@override
Widget build(BuildContext context) {
return Container(
child: FlickVideoPlayer(
flickManager: flickManager
),
);
}
}Alternatives
Packages that do the same job and could replace flick_video_player.
- youtube_player_flutter
If your primary goal is specifically embedding and playing YouTube videos.
94Compare
Works with
Packages commonly used together with flick_video_player: ones it builds on, ones built on it, and its own family.
- path_providerflick_video_player depends on itProvides Flutter APIs to locate common filesystem directories on Android, iOS, macOS, Linux and Windows.
- dioflick_video_player depends on itA powerful HTTP networking package for Dart and Flutter with interceptors and request cancellation.
- video_playerflick_video_player depends on itFlutter plugin for displaying inline video on Android, iOS, macOS, and web.
- wakelock_plusflick_video_player depends on itKeep the device screen awake across mobile, desktop, and web platforms.
- providerflick_video_player depends on itA lightweight wrapper around InheritedWidget for state management
- universal_htmlflick_video_player depends on itCross‑platform replacement for dart:html with DOM parsing, XML support, and EventSource.