flutter_ajanuw_android_pip

Set picture-in-picture mode on Android

<application 
  android:resizeableActivity="true" 
  android:supportsPictureInPicture="true" 
  ...

Install

dependencies:
  flutter_ajanuw_android_pip:

use

import 'package:flutter_ajanuw_android_pip/flutter_ajanuw_android_pip.dart';


 FlutterAndroidPip.pip();

 // or
 FlutterAndroidPip.pip(aspectRatio: PipRational(1, 1));

Libraries

flutter_ajanuw_android_pip