rive_native 0.0.7 copy "rive_native: ^0.0.7" to clipboard
rive_native: ^0.0.7 copied to clipboard

Rive's native runtime and renderer for Flutter.

0.0.7 #

Fixes #

  • Fixed running out of GL contexts by recycling HTML canvases
  • Fixed an issue on Web (Rive Renderer) where certain graphics would settle (pause) too soon when exiting a settled state.
  • Fixed an issue where the state machine would settle/pause too soon when resizing the widget (or native window) and when re entering from a backgrounded state (Android). See issue 496
  • Fixed an issue where nothing is drawn on the first frame when active is false in RiveWidgetController. See issue 495

Build & Platform Updates #

  • Linux: Initial Linux support (Flutter renderer).
  • Fixed testing libraries not available when using rive_native as a Pub package. rive_native now copies the native libraries to the local app build directory.

0.0.6 #

  • Updates the Rive C++ runtime and renderer for the latest bug fixes and performance improvements.

Fixes #

  • A dual mutex deadlock on iOS/macOS during window/texture resizing under certain conditions.
  • An issue where the Rive Renderer requests a repaint on a disposed render object.

0.0.5 #

Fixes #

  • Fixed a crash on iOS for the Flutter renderer on cleanup.

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 ViewModelInstanceArtboard by its path using artboard(String path) on a view model instance. To update, set the value by passing in a BindableArtboard. Create a BindableArtboard from 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.isSupported after RiveNative.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 ViewModelInstance by its path using list(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 a ViewModelInstance by its path using image(String path), and set its value.
    • Use Factory.rive.decodeImage or Factory.flutter.decodeImage to create a RenderImage.
    • Set the value to null to clear the image and free up resources.
  • Exposes the name string getter on Artboad, Animation, and StateMachine

Fixes #

  • Fixed a build issue when creating an Android AAR module. rive_native now accounts for the plugins_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 using dart 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 #

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 executing pub 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 in StateMachine.number, StateMachine.boolean, and StateMachine.trigger.
  • Nested Text Runs: Added support for nested text runs, accessible via the optional path parameter in artboard.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 and ProceduralPainter.

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 and RivePainter.stateMachine no longer require a stateMachineName parameter. It is now optional. If null, the default state machine will be used.
  • Rive Widgets: RiveArtboardWidget and RiveFileWidget now require a RivePainter.

0.0.1-dev.5 #

  • Initial prerelease 🎉