smart_player_kit 1.0.1
smart_player_kit: ^1.0.1 copied to clipboard
Advanced Flutter media player — HLS, subtitles, reels, mini player, background playback & analytics.
Changelog #
1.0.1 #
🐛 Bug Fixes & Improvements #
- Fixed
withOpacitydeprecated calls — replaced withwithValues(alpha:) - Fixed
onPopInvokeddeprecated — replaced withonPopInvokedWithResult - Fixed
AndroidNotificationActionconstructor for flutter_local_notifications v21 - Fixed
initialize()named parametersettings:for notifications v21 - Fixed unnecessary imports across controls and subtitle files
- Fixed curly braces in subtitle parser if-statement
- Fixed
libraryname declaration warning - Updated all dependencies to latest stable versions:
audio_session→^0.2.3connectivity_plus→^7.1.1flutter_local_notifications→^21.0.0just_audio→^0.10.5screen_brightness→^2.1.8volume_controller→^3.5.0
- Added
httpdependency for subtitle fetching - Added
video_playerto example app dependencies
1.0.0 #
🎉 Initial stable release #
Core Player
SmartPlayerController— ValueNotifier based, full playback controlSmartPlayerConfig— network, HLS, file, asset sourcesSmartPlayerwidget — YouTube / Netflix / Minimal control stylesSmartPlayerTheme— fully customizable colors, fonts, icons
Streaming
- HLS
.m3u8stream support - Auto quality detection
- Buffering indicator
Subtitles
- SRT and WebVTT parser
SubtitleController— real-time position syncSubtitleOverlaywidgetSubtitleSelector— runtime track switching
Mini Player
SmartMiniPlayer— YouTube-style draggable floating mini playerMiniPlayerController— expanded / minimized / hidden state- Live video in mini player (shared
VideoPlayerController) - Drag anywhere, dismiss on swipe down
- Play/Pause + Close controls
Reels / Short Video
SmartReelsPlayer— TikTok/Instagram style vertical feed- Auto play on scroll, pause on scroll away
- Like, comment, share callbacks
Audio Player
SmartAudioPlayer— Podcast / Music player- Full, compact, and minimal styles
- Lock screen + notification controls
Background Playback
BackgroundService— continues playback when app is minimizedNotificationControls— play/pause from notification
Resume
ResumeManager— SharedPreferences based position save/restore- Per-video
resumeKeysupport
Analytics
PlayerAnalytics— watch time, pause count, completion %- Callbacks for play, pause, seek, complete events
Gestures
- Double-tap seek (left/right)
- Swipe up/down for volume and brightness