flutter_present_video_player 0.0.2 copy "flutter_present_video_player: ^0.0.2" to clipboard
flutter_present_video_player: ^0.0.2 copied to clipboard

outdated

present AVPlayerViewController and VideoView.

example/lib/main.dart

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

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

class MyApp extends StatefulWidget {
  @override
  _MyAppState createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: const Text('Plugin example app'),
        ),
        body: Center(
          child: FlatButton(
              onPressed: () {
                FlutterPresentVideoPlayer.play(
                    "https://www.runoob.com/try/demo_source/movie.mp4");
              },
              child: Text(
                "Play",
              )),
        ),
      ),
    );
  }
}
1
likes
20
pub points
0%
popularity

Publisher

unverified uploader

present AVPlayerViewController and VideoView.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on flutter_present_video_player