flutter_vap_kit 0.1.0
flutter_vap_kit: ^0.1.0 copied to clipboard
Play Tencent VAP transparent (alpha-channel) MP4 animations with one widget: seamless looping, automatic first-frame poster, asset and network caching.
0.1.0 #
First release.
VapPlayerwidget with.asset,.fileand.networkconstructors.- Seamless looping (
loop: true) and fixed repeat counts, on Android and iOS. - The clip's first frame is shown automatically until playback starts.
- Assets are copied out of the app bundle once; network clips are downloaded once and reused from disk.
VapControllerfor starting, stopping and swapping clips from code.VapKit.preloadto get a clip ready before it is shown.- Touches pass through the animation to the widgets around it.
- Looping clips resume when the app returns to the foreground.
- iOS: renders on the simulator, and no longer crashes when frames are software-decoded.