floating 2.0.0 floating: ^2.0.0 copied to clipboard
Picture in Picture mode management for Flutter. Available only for Android.
2.0.0 #
- Add
sourceRectHint
support.
Breaking:
.enable(Rational.landscape())
is now.enable(aspectRatio: Rational.landscape())
1.1.3 #
- Drop Kotlin to 1.7.10
- Bump Gradle to 7.2.0
- Bump Gradle distributionUrl to 7.5
1.1.2 #
- Bump Kotlin to 1.8.0
1.1.1+1 #
- Fix showcase GIF link
1.1.1 #
- Fix
java.lang.RuntimeException
caused by an uninitializedTimer
1.1.0 #
- Add custom aspect ratio support
1.0.0 #
- BREAKING: Floating class does not have static members anymore. It should be instantiated before use and dispose afterwards with
dispose()
. - BREAKING: Name changes:
- from
isInPipMode
topipStatus
. It also returns one ofPiPStatus
enum values rather than abool
. - from
enablePip()
toenable()
. It also returns one ofPiPStatus
enum values rather than abool
.
- from
- Added a
pipStatus$
stream that notifies listeners about changes in the current PiP status. - Added a
PiPSwitcher
widget that renders proper widgets for current PiP status.
0.1.1 #
- Updated docs
0.1.0 #
- Null-safety migration
- Added tests
- Added docs
0.0.1 #
- Checking if device supports PiP mode
- Checking current PiP status
- Enabling PiP