rive_native 0.0.3
rive_native: ^0.0.3 copied to clipboard
Rive's native runtime and renderer for Flutter.
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
ViewModelInstance
by 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_64
arch support. - Android: support 16 KB page sizes, see issue 479.
- Android: bump
compileSdk
from 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 aViewModelInstance
by its path usingimage(String path)
, and set itsvalue
.- Use
Factory.rive.decodeImage
orFactory.flutter.decodeImage
to create aRenderImage
. - Set the
value
tonull
to clear the image and free up resources.
- Use
- Exposes the
name
string getter onArtboad
,Animation
, andStateMachine
Fixes #
- Fixed a build issue when creating an Android AAR module.
rive_native
now accounts for theplugins_build_output
directory 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_native
libraries 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 executingpub
commands 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
path
parameter inStateMachine.number
,StateMachine.boolean
, andStateMachine.trigger
. - Nested Text Runs: Added support for nested text runs, accessible via the optional
path
parameter 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
RiveProceduralRenderingWidget
andProceduralPainter
.
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:
StateMachinePainter
andRivePainter.stateMachine
no longer require astateMachineName
parameter. It is now optional. Ifnull
, the default state machine will be used. - Rive Widgets:
RiveArtboardWidget
andRiveFileWidget
now require aRivePainter
.
0.0.1-dev.5 #
- Initial prerelease 🎉