Skip to content
pubscout

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.

Quiet but busy
$ flutter pub add flick_video_player
Source repository

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.

Works with

Packages commonly used together with flick_video_player: ones it builds on, ones built on it, and its own family.