1234567891011121314151617181920212223242526272829 |
- import 'package:flutter/material.dart';
- import 'package:flutter/services.dart';
- import 'package:flutter_vr/tools/YSTools.dart';
- import 'package:flutter_vr/video/YSVideoList.dart';
- void main() {
- WidgetsFlutterBinding.ensureInitialized();
- SystemChrome.setSystemUIOverlayStyle(SystemUiOverlayStyle.light.copyWith(statusBarColor: Colors.transparent));
- AppUtil.V();
- runApp(const MyApp());
- }
- class MyApp extends StatelessWidget {
- const MyApp({super.key});
- // This widget is the root of your application.
- @override
- Widget build(BuildContext context) {
- return MaterialApp(
- title: '笙歌VR',
- debugShowCheckedModeBanner: false,
- theme: ThemeData(
- colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
- useMaterial3: true,
- ),
- home: const YSVideoList(),
- );
- }
- }
|