video_viewer_updated 1.2.9 video_viewer_updated: ^1.2.9 copied to clipboard
Multiplatform minimalist video viewer with spectacular user experience.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add video_viewer_updated
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
video_viewer_updated: ^1.2.9
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:video_viewer_updated/data/repositories/video.dart';
import 'package:video_viewer_updated/domain/bloc/controller.dart';
import 'package:video_viewer_updated/domain/bloc/metadata.dart';
import 'package:video_viewer_updated/domain/entities/ads.dart';
import 'package:video_viewer_updated/domain/entities/language.dart';
import 'package:video_viewer_updated/domain/entities/settings_menu_item.dart';
import 'package:video_viewer_updated/domain/entities/styles/bar.dart';
import 'package:video_viewer_updated/domain/entities/styles/chat.dart';
import 'package:video_viewer_updated/domain/entities/styles/forward_and_rewind.dart';
import 'package:video_viewer_updated/domain/entities/styles/play_and_pause.dart';
import 'package:video_viewer_updated/domain/entities/styles/progress_bar.dart';
import 'package:video_viewer_updated/domain/entities/styles/settings_menu.dart';
import 'package:video_viewer_updated/domain/entities/styles/subtitle.dart';
import 'package:video_viewer_updated/domain/entities/styles/video_viewer.dart';
import 'package:video_viewer_updated/domain/entities/styles/volume_bar.dart';
import 'package:video_viewer_updated/domain/entities/subtitle.dart';
import 'package:video_viewer_updated/domain/entities/video_source.dart';
import 'package:video_viewer_updated/domain/entities/volume_control.dart';
import 'package:video_viewer_updated/domain/repositories/video.dart';
import 'package:video_viewer_updated/ui/fullscreen.dart';
import 'package:video_viewer_updated/ui/overlay/overlay.dart';
import 'package:video_viewer_updated/ui/overlay/widgets/background.dart';
import 'package:video_viewer_updated/ui/overlay/widgets/bottom.dart';
import 'package:video_viewer_updated/ui/overlay/widgets/progress_bar.dart';
import 'package:video_viewer_updated/ui/settings_menu/main_menu.dart';
import 'package:video_viewer_updated/ui/settings_menu/settings_menu.dart';
import 'package:video_viewer_updated/ui/settings_menu/widgets/caption_menu.dart';
import 'package:video_viewer_updated/ui/settings_menu/widgets/quality_menu.dart';
import 'package:video_viewer_updated/ui/settings_menu/widgets/secondary_menu.dart';
import 'package:video_viewer_updated/ui/settings_menu/widgets/secondary_menu_item.dart';
import 'package:video_viewer_updated/ui/settings_menu/widgets/speed_menu.dart';
import 'package:video_viewer_updated/ui/video_core/video_core.dart';
import 'package:video_viewer_updated/ui/video_core/widgets/ad.dart';
import 'package:video_viewer_updated/ui/video_core/widgets/aspect_ratio.dart';
import 'package:video_viewer_updated/ui/video_core/widgets/buffering.dart';
import 'package:video_viewer_updated/ui/video_core/widgets/forward_and_rewind/bar.dart';
import 'package:video_viewer_updated/ui/video_core/widgets/forward_and_rewind/forward_and_rewind.dart';
import 'package:video_viewer_updated/ui/video_core/widgets/forward_and_rewind/layout.dart';
import 'package:video_viewer_updated/ui/video_core/widgets/forward_and_rewind/ripple_side.dart';
import 'package:video_viewer_updated/ui/video_core/widgets/orientation.dart';
import 'package:video_viewer_updated/ui/video_core/widgets/player.dart';
import 'package:video_viewer_updated/ui/video_core/widgets/subtitle.dart';
import 'package:video_viewer_updated/ui/video_core/widgets/thumbnail.dart';
import 'package:video_viewer_updated/ui/video_core/widgets/volume_bar.dart';
import 'package:video_viewer_updated/ui/widgets/helpers.dart';
import 'package:video_viewer_updated/ui/widgets/play_and_pause.dart';
import 'package:video_viewer_updated/ui/widgets/transitions.dart';
import 'package:video_viewer_updated/video_viewer.dart';