rive_native 0.0.5
rive_native: ^0.0.5 copied to clipboard
Rive's native runtime and renderer for Flutter.
0.0.4 #
- Updates the Rive C++ runtime and renderer for the latest bug fixes and performance improvements.
New Features #
- Data binding artboards:
You can now data bind artboards and update them programatically. Access a
ViewModelInstanceArtboardby its path usingartboard(String path)on a view model instance. To update, set thevalueby passing in aBindableArtboard. Create aBindableArtboardfrom a Rive file:riveFile.artboardToBind(String name)See the runtime docs for data binding artboards. - Detect Rive Renderer support:
You can now detect Rive Renderer support by doing
Factory.rive.isSupportedafterRiveNative.init().
Fixes #
- Fixed a crash when using the Flutter renderer.
- Allow Rive Native to still work even if the Rive Renderer context does not initialize.
0.0.3 #
- Updates the Rive C++ runtime and renderer for the latest bug fixes and performance improvements.
New Features #
- Data binding lists:
You can now get a list property on a
ViewModelInstanceby its path usinglist(String path). On this property you can perform common list operations, such as,add/remove/insert. See Editor and runtime docs for data binding lists.
Fixes #
- Fixed a crash on Android when backgrounding the app using the Rive Renderer. See issue 481.
Build & Platform Updates #
- Android: add
x86/x86_64arch support. - Android: support 16 KB page sizes, see issue 479.
- Android: bump
compileSdkfrom 34 to 35.
0.0.2 #
- Updates the Rive C++ runtime and renderer for the latest bug fixes and performance improvements.
New Features #
- Data binding images:
You can now get an image property on aViewModelInstanceby its path usingimage(String path), and set itsvalue.- Use
Factory.rive.decodeImageorFactory.flutter.decodeImageto create aRenderImage. - Set the
valuetonullto clear the image and free up resources.
- Use
- Exposes the
namestring getter onArtboad,Animation, andStateMachine
Fixes #
- Fixed a build issue when creating an Android AAR module.
rive_nativenow accounts for theplugins_build_outputdirectory when running the build scripts. - Fixed an issue where Pub would remove a required Makefile during package publishing. The Makefile is necessary for manually building
rive_nativelibraries usingdart run rive_native:setup --build.
0.0.1 #
- Updates the Rive C++ runtime and renderer for the latest bug fixes and performance improvements.
Fixes #
- Fixed a build issue when building directly from Xcode for iOS and macOS.
- Various rendering and runtime fixes.
0.0.1-dev.8 #
New Features #
- Data binding π. See the data binding documentation and the updated example app for more info.
Fixes #
- Platform dependent CMakeList.txt instructions. Fixes Android and Windows rive_native setup for certain Windows environments. See issue 471
- Support for Workspaces in
rive_native:setup, see issue 467. Thanks tpucci for the contribution. - Textures now use pre-multiplied alpha, which may fix dark edges around alpha textures ad7c295
- Fixed an OpenGL buffer race condition b001b21
0.0.1-dev.7 #
New Features #
- Initial support for text follow path (early access)
Fixes #
- Lates Rive Runtime and Renderer fixes and improvements
- Fixes rendering glitches on certain device hardware
- Android and Windows building: Fixed executing the download scripts from the wrong path in
CMakeLists.txt. See issue 460, Dart does not allow executingpubcommands from the pub cache directory. - iOS and macOS build flavor support: Fixed an issue where rive_native could not build when using Flutter flavors, see issue 460.
- Reduce Pub package size and fix building: Reduce dependencies included when publishing to Pub, and fix manual library building
0.0.1-dev.6 #
New Features #
- Android Support: Added support for Android (arm, arm64) with Rive Renderer and Flutter Renderer (Skia/Impeller).
- iOS Emulator Support: Added support for running on iOS emulators.
- Layout Support: Introduced Layout support.
- Scrolling Support: Added Scrolling support.
- N-Slicing Support: Added N-Slicing support.
- Feathering: Added support for Feathering.
- Nested Inputs: Added nested inputs accessible via the optional
pathparameter inStateMachine.number,StateMachine.boolean, andStateMachine.trigger. - Nested Text Runs: Added support for nested text runs, accessible via the optional
pathparameter inartboard.getText(textRunName, path: path). - Text Run Setters: Added setters for text runs (including nested text runs) using
artboard.setText(textRunName, updatedValue, path: path). - Rive Events: Added support for Rive Events.
- Out-of-Band Assets: Added support for out-of-band assets.
- Procedural Rendering: Introduced
RiveProceduralRenderingWidgetandProceduralPainter.
Fixes #
- Windows Build Scripts: Fixed build scripts for Windows.
- Latest Rive C++ runtime: Updates to the latest core runtime with various improvements and fixes.
Breaking Changes #
- StateMachinePainter:
StateMachinePainterandRivePainter.stateMachineno longer require astateMachineNameparameter. It is now optional. Ifnull, the default state machine will be used. - Rive Widgets:
RiveArtboardWidgetandRiveFileWidgetnow require aRivePainter.
0.0.1-dev.5 #
- Initial prerelease π