Releases: flutterbysunny/smart_player_kit
Releases · flutterbysunny/smart_player_kit
v1.0.2 — Picture-in-Picture + Mini Player
🎬 What's New in v1.0.2
🆕 Picture-in-Picture (PiP)
PipController— full PiP lifecycle management- Android 8.0+ native
PictureInPictureParamsAPI - iOS 15+
AVPictureInPictureControllersupport (real device only) - Auto-enter PiP on home button (Android 12+)
- Seamless resize animation (Android 12+)
- PiP mode detection — controls auto-hide in PiP window
🪟 Mini Player Improvements
- Live video in mini player — same
VideoPlayerControllershared - Play/Pause + Close controls only — clean UI
- Fixed
setState() called during builderror - Fixed position
clampcrash on Android - Fixed overflow on small screens
🐛 Bug Fixes
- Fixed minimize bar UI overflow
- Fixed PiP controls showing inside PiP window
- Fixed
MiniPlayerControllerbuild-time notification error
📦 Installation
```yaml
dependencies:
smart_player_kit: ^1.0.2
```
🔗 Links
What's Fixed in v1.0.1
Dependency Updates
audio_session^0.1.21→^0.2.3connectivity_plus^6.0.5→^7.1.1flutter_local_notifications^17.2.3→^21.0.0just_audio^0.9.40→^0.10.5screen_brightness^0.2.2+1→^2.1.8volume_controller^2.0.8→^3.5.0
Bug Fixes
- Fixed
flutter_local_notificationsv21 breaking changes:AndroidNotificationActionconstructor updatedinitialize()now usessettings:named parametershow()andcancel()useid:named parameter- Background notification handler moved to top-level function with
@pragma('vm:entry-point')
- Fixed deprecated
withOpacity()→withValues(alpha:) - Fixed deprecated
onPopInvoked→onPopInvokedWithResult. - Fixed
libraryname declaration warning - Fixed curly braces in subtitle parser
- Removed unnecessary imports across multiple files
Other
- Added
httpto dependencies for subtitle URL fetching - Added
video_playerto example app dependencies - pub.dev score improved to 120/160
Installation
```yaml
dependencies:
smart_player_kit: ^1.0.1
```
🔗 Links
smart_player_kit v0.0.1 — Initial Release
Advanced Flutter media player kit with modern controls and streaming support.
Features
- 📺 Network Video Playback
- 🔥 HLS / M3U8 Streaming Support
- 🎬 Reels Support
- 📝 Subtitles Support
- ⚡ Background Playback
- 🔲 Fullscreen Mode
- 🎮 Custom Controls
- 🔄 Auto Resume
📦 Installation
```yaml
dependencies:
smart_player_kit: ^0.0.1
```
Quick Start
```dart
SmartPlayerKit(
url: 'https://example.com/video.m3u8',
)
```
Platform Support
- ✅ Android
- ✅ iOS