impulse_player_flutter 0.2.0
impulse_player_flutter: ^0.2.0 copied to clipboard
The Impulse Player plugin makes using a video player in flutter easy.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add impulse_player_flutterWith Flutter:
$ flutter pub add impulse_player_flutterThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
impulse_player_flutter: ^0.2.0Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:impulse_player_flutter/impulse_player.dart';
import 'package:impulse_player_flutter/impulse_player_controller.dart';
import 'package:impulse_player_flutter/impulse_player_view.dart';
import 'package:impulse_player_flutter/model/impulse_player_state.dart';
import 'package:impulse_player_flutter/plugin/impulse_player_factory.dart';
import 'package:impulse_player_flutter/plugin/impulse_player_plugin.dart';
import 'package:impulse_player_flutter/plugin/impulse_player_plugin_constants.dart';
import 'package:impulse_player_flutter/plugin/plugin_method_channel.dart';
import 'package:impulse_player_flutter/plugin/plugin_platform.dart';