rive-flutter

Installation
SKILL.md

Rive Flutter

Purpose

This skill provides exhaustive, source-grounded operating instructions for an autonomous AI coding agent implementing, refactoring, optimizing, and reviewing Rive graphics within Flutter applications. It codifies the current official C++ runtime architecture (rive: ^0.14.11 / 0.15.x-dev), establishes strict resource ownership models, enforces multi-platform rendering safety, and prevents performance, memory, and lifecycle regressions.


When to Use This Skill

Trigger this skill whenever a task involves:

  • Integrating .riv vector animation assets into a Flutter codebase.
  • Selecting between rendering pipelines (Factory.rive vs Factory.flutter).
  • Interfacing with Rive State Machines, inputs (TriggerInput, BooleanInput, NumberInput), or transitions.
  • Establishing modern Data Binding with Rive View Models (ViewModelInstance, lists, images, artboards).
  • Managing Rive lifecycle, initialization (RiveNative.init()), and deterministic resource disposal.
  • Optimizing Rive performance in lists, grids, carousels, navigation routes, or large-scale design systems.
  • Mitigating platform-specific bottlenecks (e.g., WebGL context limits on Web, Impeller triage on iOS/Android, 16KB pages on Android).
  • Auditing existing Flutter code for deprecated Rive APIs (RiveAnimation.asset, StateMachineController, SMIBool, RiveEvent, etc.).
Installs
7
GitHub Stars
9
First Seen
Oct 12, 2026