djangoflow_video_player 0.1.0 copy "djangoflow_video_player: ^0.1.0" to clipboard
djangoflow_video_player: ^0.1.0 copied to clipboard

A Flutter package that provides a highly customizable `VideoPlayerWidget`, making video playback in your Flutter applications seamless and flexible.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:djangoflow_video_player/djangoflow_video_player.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return const MaterialApp(
      title: 'Djangoflow Video Player Example',
      home: VideoPlayerScreen(),
    );
  }
}

class VideoPlayerScreen extends StatelessWidget {
  const VideoPlayerScreen({super.key});

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text('Djangoflow Video Player'),
      ),
      body: SizedBox(
        height: 400,
        child: VideoPlayerWidget(
          url:
              'https://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4', // Replace with a valid video URL
        ),
      ),
    );
  }
}
2
likes
140
pub points
40%
popularity

Publisher

verified publisherapexive.com

A Flutter package that provides a highly customizable `VideoPlayerWidget`, making video playback in your Flutter applications seamless and flexible.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

cached_network_image, flutter, video_player

More

Packages that depend on djangoflow_video_player