vap_player 0.0.6
vap_player: ^0.0.6 copied to clipboard
this is play mp4 gift library
example/lib/main.dart
import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:vap_player_example/second_page.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatefulWidget {
const MyApp({super.key});
@override
State<MyApp> createState() => _MyAppState();
}
class _MyAppState extends State<MyApp> {
@override
void initState() {
super.initState();
}
@override
Widget build(BuildContext context) {
return GetMaterialApp(
home: Scaffold(
appBar: AppBar(
title: const Text('Plugin example app'),
),
body: Column(
children: [
TextButton(
onPressed: () {
Get.to(SecondPage());
},
child: const Text("跳转第二个界面"))
],
),
),
);
}
}