Skip to content
pubscout

chewie

1.18.1, released 3 days ago by fluttercommunity.dev

Video player widget with Material/Cupertino controls

Uses material_uiRock solid
$ flutter pub add chewie
Source repository

What it does

Chewie wraps the low‑level video_player plugin and provides a ready‑made UI with Material or Cupertino controls, subtitles, chapters, and casting support.

AI-written summary of version 1.17.4, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need a quick, cross‑platform video player with a polished UI
  • You want built‑in subtitle support and option panels
  • You prefer to avoid writing your own controls from scratch

Skip it when

  • You need fine‑grained control over the video_player internals
  • You want to minimize dependencies or avoid an extra package

Strengths

  • Easy to integrate with minimal code
  • Supports subtitles, chapters, and casting
  • Highly customizable options panel and UI

Weaknesses

  • Relies on video_player, so any platform issues are inherited
  • Limited to the features exposed by video_player
  • Adds an extra dependency

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
7

Add chewie and video_player to pubspec.yaml and import both packages. No special permissions required.

import 'package:chewie/chewie.dart';
import 'package:video_player/video_player.dart';

final controller = VideoPlayerController.networkUrl(Uri.parse('https://example.com/video.mp4'));
await controller.initialize();
final chewieController = ChewieController(videoPlayerController: controller, autoPlay: true, looping: true);

Chewie(controller: chewieController);

Alternatives

Packages that do the same job and could replace chewie.

Works with

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