chewie
1.18.1, released 3 days ago by fluttercommunity.dev
Video player widget with Material/Cupertino controls
Uses material_uiRock solid
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.
- media_kit_video
Full‑featured media player with advanced streaming support
73Compare
Works with
Packages commonly used together with chewie: ones it builds on, ones built on it, and its own family.
- webchewie depends on itLightweight bindings for browser APIs via JS interop
- cupertino_iconschewie depends on itAsset package providing Cupertino icon font for Flutter
- video_playerchewie depends on itFlutter plugin for displaying inline video on Android, iOS, macOS, and web.
- material_uichewie depends on itOfficial Flutter Material UI library implementing Google’s Material Design system.
- cupertino_uichewie depends on itOfficial Flutter Cupertino design library implementing Apple HIG iOS and macOS user interfaces.
- wakelock_pluschewie depends on itKeep the device screen awake across mobile, desktop, and web platforms.
- providerchewie depends on itA lightweight wrapper around InheritedWidget for state management
- fwfh_chewieBuilt on chewieRender VIDEO tags using Chewie inside HtmlWidget