flutterfreaks_video_player 0.0.1 copy "flutterfreaks_video_player: ^0.0.1" to clipboard
flutterfreaks_video_player: ^0.0.1 copied to clipboard

A new Flutter package by which you can easily play the video in your flutter mobile app by just passing the video url.

example/lib/main.dart

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

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

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

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'FlutterFreaks Video Player',
      theme: ThemeData(
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
        useMaterial3: true,
      ),
      home: FlutterFreaksVideoPlayerExample(),
    );
  }
}

class FlutterFreaksVideoPlayerExample extends StatefulWidget {
  const FlutterFreaksVideoPlayerExample({super.key});

  @override
  State<FlutterFreaksVideoPlayerExample> createState() =>
      _FlutterFreaksVideoPlayerExampleState();
}

class _FlutterFreaksVideoPlayerExampleState
    extends State<FlutterFreaksVideoPlayerExample> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text('FlutterFreaks Video Player'),
      ),
      body: Center(
        child: Column(
          children: [
            FlutterFreaksVideoPlayer(
              videoUrl:
                  'https://flutter.github.io/assets-for-api-docs/assets/videos/bee.mp4',
            ),
          ],
        ),
      ),
    );
  }
}
copied to clipboard
3
likes
140
points
40
downloads

Publisher

verified publisherpriyanshukumar1705.blogspot.com

Weekly Downloads

2024.07.05 - 2025.01.17

A new Flutter package by which you can easily play the video in your flutter mobile app by just passing the video url.

Documentation

API reference

License

GPL-3.0 (license)

Dependencies

chewie, flutter, video_player

More

Packages that depend on flutterfreaks_video_player