floatube_player 0.2.1
floatube_player: ^0.2.1 copied to clipboard
A Flutter package for a YouTube-style floating video player. Supports picture-in-picture mini-player with snap-to-corner physics, portrait/landscape orientation handling, spring-physics drag gestures, [...]
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add floatube_playerThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
floatube_player: ^0.2.1Alternatively, 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:floatube_player/floatube_player.dart';