floating 5.0.1 floating: ^5.0.1 copied to clipboard
Picture in Picture mode management for Flutter. Available only for Android.
5.0.0 #
- BREAKING Switch to declarative Gradle plugin setup
- Add switching animation to
PiPSwitcher
- Follow rules from
flutter_lints: ^5.0.0
4.0.1 #
- Fix for SDK versions not supporting auto-enabled PiP
4.0.0 #
- BREAKING
EnableManual
is nowImmediatePiP
- BREAKING
AutoEnable
is nowOnLeavePiP
- BREAKING
.dispose()
is no longer available, as theFloating()
constructor returns a singleton now - Cancel
OnLeavePiP
instructions viacancelOnLeavePiP
method
3.0.0 #
- BREAKING
.enable()
is nowenable(EnableManual())
- Enter automatic PiP mode on app minimize via
enable(AutoEnable())
- BREAKING
pipStatus$
is nowpipStatusStream
2.0.2 #
- Update topics
- Update screenshots
- Switch to lints_core
2.0.1 #
- AGP 8 compatibility
- JVM target set to 1.8
- Move from jcenter to mavenCentral
Thanks @deckerst!
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