flutter_vlc_player_platform_interface
2.0.5, released 2 years ago by solid.software
Defines the platform interface for the Flutter VLC player plugin.
Quiet but busy
What it does
Provides an abstract VlcPlatform class that platform implementations must extend. Ensures consistent API across Android, iOS, Windows, macOS, and Linux implementations.
AI-written summary of version 2.0.5, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to create or use a custom platform implementation for VLC playback.
- You want a stable contract for a Flutter VLC plugin across multiple platforms.
Skip it when
- You only need a ready‑made video player without writing platform code.
Strengths
- Clear separation between interface and implementation
- Supports all major desktop and mobile platforms
- Versioned API with breaking‑change guidance
Weaknesses
- Contains no actual playback logic – requires a separate implementation
- Limited to VLC features; not a full‑featured player on its own
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 2
import 'package:flutter_vlc_player_platform_interface/flutter_vlc_player_platform_interface.dart';
class MyVlcPlatform extends VlcPlatform {
// implement required methods here
}
void registerMyPlatform() {
VlcPlatform.instance = MyVlcPlatform();
}Alternatives
Packages that do the same job and could replace flutter_vlc_player_platform_interface.
- video_player
Provides a ready‑to‑use video player without needing a separate platform interface.
93Compare
Works with
Packages commonly used together with flutter_vlc_player_platform_interface: ones it builds on, ones built on it, and its own family.
- plugin_platform_interfaceflutter_vlc_player_platform_interface depends on itReusable base class for platform interfaces of Flutter federated plugins.
- flutter_vlc_playerBuilt on flutter_vlc_player_platform_interfaceA VLC-powered video player alternative for Flutter, supporting multiple players.
- flutter_vlc_player_16kbBuilt on flutter_vlc_player_platform_interfaceA VLC-powered alternative to Flutter's video_player supporting multiple players.