efui_video_player 1.0.4 copy "efui_video_player: ^1.0.4" to clipboard
efui_video_player: ^1.0.4 copied to clipboard

discontinuedreplaced by: chewie

A custom Flutter video player powered by empathetech_flutter_ui

example/lib/main.dart

import './home.dart';
import './consts.dart';
import 'package:empathetech_flutter_ui/empathetech_flutter_ui.dart';

import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:shared_preferences/shared_preferences.dart';
import 'package:flutter_platform_widgets/flutter_platform_widgets.dart';

void main() async {
  WidgetsFlutterBinding.ensureInitialized();

  final SharedPreferences prefs = await SharedPreferences.getInstance();

  EzConfig(
    assetPaths: [videoPath],
    preferences: prefs,
  );

  SystemChrome.setPreferredOrientations([
    DeviceOrientation.portraitUp,
    DeviceOrientation.landscapeLeft,
    DeviceOrientation.landscapeRight,
  ]);

  runApp(const EFUIVideoExample());
}

class EFUIVideoExample extends StatelessWidget {
  final Key? key;

  const EFUIVideoExample({this.key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return EzAppProvider(
      app: PlatformApp(
        debugShowCheckedModeBanner: false,
        supportedLocales: EFUILang.supportedLocales,
        localizationsDelegates: EFUILang.localizationsDelegates,
        title: "EFUI Video Player",
        home: const HomeScreen(),
      ),
    );
  }
}
0
likes
50
points
13
downloads

Publisher

verified publisherempathetech.net

Weekly Downloads

A custom Flutter video player powered by empathetech_flutter_ui

Repository (GitHub)

License

GPL-3.0 (license)

Dependencies

empathetech_flutter_ui, flutter, flutter_platform_widgets, video_player

More

Packages that depend on efui_video_player