pip_flutter 0.0.3 pip_flutter: ^0.0.3 copied to clipboard
A new Flutter Picture in Picture Package for android.When app is running in foregorund that time also app not kill.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add pip_flutter
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
pip_flutter: ^0.0.3
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:pip_flutter/drm_init_data.dart';
import 'package:pip_flutter/exception.dart';
import 'package:pip_flutter/format.dart';
import 'package:pip_flutter/hls_master_playlist.dart';
import 'package:pip_flutter/hls_media_playlist.dart';
import 'package:pip_flutter/hls_playlist_parser.dart';
import 'package:pip_flutter/hls_track_metadata_entry.dart';
import 'package:pip_flutter/metadata.dart';
import 'package:pip_flutter/method_channel_video_player.dart';
import 'package:pip_flutter/mime_types.dart';
import 'package:pip_flutter/pipflutter_player.dart';
import 'package:pip_flutter/pipflutter_player_asms_audio_track.dart';
import 'package:pip_flutter/pipflutter_player_asms_data_holder.dart';
import 'package:pip_flutter/pipflutter_player_asms_subtitle.dart';
import 'package:pip_flutter/pipflutter_player_asms_subtitle_segment.dart';
import 'package:pip_flutter/pipflutter_player_asms_track.dart';
import 'package:pip_flutter/pipflutter_player_asms_utils.dart';
import 'package:pip_flutter/pipflutter_player_buffering_configuration.dart';
import 'package:pip_flutter/pipflutter_player_cache_configuration.dart';
import 'package:pip_flutter/pipflutter_player_clickable_widget.dart';
import 'package:pip_flutter/pipflutter_player_configuration.dart';
import 'package:pip_flutter/pipflutter_player_controller.dart';
import 'package:pip_flutter/pipflutter_player_controller_event.dart';
import 'package:pip_flutter/pipflutter_player_controller_provider.dart';
import 'package:pip_flutter/pipflutter_player_controls_configuration.dart';
import 'package:pip_flutter/pipflutter_player_controls_state.dart';
import 'package:pip_flutter/pipflutter_player_cupertino_controls.dart';
import 'package:pip_flutter/pipflutter_player_cupertino_progress_bar.dart';
import 'package:pip_flutter/pipflutter_player_dash_utils.dart';
import 'package:pip_flutter/pipflutter_player_data_source.dart';
import 'package:pip_flutter/pipflutter_player_data_source_type.dart';
import 'package:pip_flutter/pipflutter_player_drm_configuration.dart';
import 'package:pip_flutter/pipflutter_player_drm_type.dart';
import 'package:pip_flutter/pipflutter_player_event.dart';
import 'package:pip_flutter/pipflutter_player_event_type.dart';
import 'package:pip_flutter/pipflutter_player_hls_utils.dart';
import 'package:pip_flutter/pipflutter_player_material_controls.dart';
import 'package:pip_flutter/pipflutter_player_material_progress_bar.dart';
import 'package:pip_flutter/pipflutter_player_multiple_gesture_detector.dart';
import 'package:pip_flutter/pipflutter_player_notification_configuration.dart';
import 'package:pip_flutter/pipflutter_player_overflow_menu_item.dart';
import 'package:pip_flutter/pipflutter_player_playlist_configuration.dart';
import 'package:pip_flutter/pipflutter_player_progress_colors.dart';
import 'package:pip_flutter/pipflutter_player_subtitle.dart';
import 'package:pip_flutter/pipflutter_player_subtitles_configuration.dart';
import 'package:pip_flutter/pipflutter_player_subtitles_drawer.dart';
import 'package:pip_flutter/pipflutter_player_subtitles_factory.dart';
import 'package:pip_flutter/pipflutter_player_subtitles_source.dart';
import 'package:pip_flutter/pipflutter_player_subtitles_source_type.dart';
import 'package:pip_flutter/pipflutter_player_theme.dart';
import 'package:pip_flutter/pipflutter_player_translations.dart';
import 'package:pip_flutter/pipflutter_player_utils.dart';
import 'package:pip_flutter/pipflutter_player_video_format.dart';
import 'package:pip_flutter/pipflutter_player_with_controls.dart';
import 'package:pip_flutter/playlist.dart';
import 'package:pip_flutter/rendition.dart';
import 'package:pip_flutter/scheme_data.dart';
import 'package:pip_flutter/segment.dart';
import 'package:pip_flutter/util.dart';
import 'package:pip_flutter/variant.dart';
import 'package:pip_flutter/variant_info.dart';
import 'package:pip_flutter/video_player.dart';
import 'package:pip_flutter/video_player_platform_interface.dart';