simple_pip_mode 1.0.0 simple_pip_mode: ^1.0.0 copied to clipboard
A complete Picture-In-Picutre mode plugin (Android support only)
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add simple_pip_mode
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
simple_pip_mode: ^1.0.0
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:simple_pip_mode/actions/pip_action.dart';
import 'package:simple_pip_mode/actions/pip_actions_layout.dart';
import 'package:simple_pip_mode/aspect_ratio.dart';
import 'package:simple_pip_mode/pip_widget.dart';
import 'package:simple_pip_mode/simple_pip.dart';