Skip to content
CAI
Software that uses CAICheck a score

2d-inc/Flare-Flutter

50.9

Adequate · 23 September 2026

12.5k

lines of production code

Dart

primary language

5

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

This system is a Flutter library and runtime for rendering and interacting with Flare animations. It provides a modular Dart core for cross-platform reuse and exposes Flutter-specific widgets to control animation states, handle user input, and manage asset loading. The repository also includes a suite of example applications demonstrating common interaction patterns like toggles, sliders, and character animations.

How it got here

2018 — Flutter runtime migration and example expansion

7 changes.

This period focused on the transition from the legacy Flare 1 runtime to the new Rive Flutter runtime, highlighted by the introduction of null safety in version 3.0.0. The team expanded the example suite with new applications demonstrating programmatic color changes, antialiasing toggles, and platform-specific configurations for iOS and macOS.

2019 — Flare Flutter library and example apps

8 changes.

This period focused on the creation of the Flare Flutter library and the development of several interactive example applications, including Teddy, Favorite, Slider, Checkbox, and Guss. The work involved refactoring the core Flare library into a modular structure for cross-platform reuse while providing complete Flutter implementations with native platform configurations.

Features

Add Flare favorite animation demo for Flutter

The Favorite example has been added to the repository, providing a complete demo of integrating Flare animations with Flutter. This includes the Dart source files (main.dart, page.dart, buttons\_row.dart) that demonstrate wrapping a FlareActor with a GestureDetector to toggle between 'Favorite' and 'Unfavorite' animations. The entry also includes the necessary platform configuration files for iOS (Xcode project, Info.plist, storyboards) and Android (AndroidManifest.xml, MainActivity), as well as a basic test file.

example/favorite · high confidence

Add Flare-based slider example with custom animation controller

The example/slider directory now includes a complete Flutter application demonstrating a custom slider that controls a Flare animation. The app features a HouseController that maps slider values to room counts in a 'Resizing House' animation, allowing users to drag a slider to change the number of rooms displayed. The example includes all necessary platform configuration files (Android Manifests, iOS Xcode project files, and Flutter-specific configs) to run the demo on both iOS and Android.

example/slider · high confidence

Add Guss example app

Introduce the Guss example application, a Flutter app demonstrating an interactive animated character. The change adds the complete project structure, including Dart source files for the UI and character controller, alongside native platform configurations for Android and iOS. This includes the Android manifest and activity, iOS project files and resources, and macOS configuration, enabling the example to be built and run on all supported platforms.

example/guss · high confidence

Add Teddy interactive example app

Added a new example application named 'Teddy' that demonstrates an interactive 2D character. The app features a bear-like character that tracks the user's input caret position and covers its eyes when typing in a password field. The implementation includes a custom \FlareController\ to handle animation states (idle, success, fail, hands\_up, hands\_down) and UI components for a sign-in form.

example/teddy · high confidence

Add change\_color example demonstrating programmatic color changes via FlareController

A new example application, change\_color, has been added to demonstrate how to use a FlareController to programmatically change the color of a shape defined in a Flare file. The example includes the full iOS project configuration, a README, and a widget test to verify the counter functionality.

_example/change\color · high confidence

Add checkbox example with animated smiley switch

The example/checkbox directory now contains a complete Flutter application demonstrating a custom animated switch component. The app features a home screen that navigates to a settings page containing five instances of a 'SmileySwitch' widget. Each switch uses the Flare library to render an animated icon that toggles between 'On' and 'Off' states. The implementation includes the necessary iOS and Android platform files, configuration files, and a basic widget test.

example/checkbox · high confidence

Add simple Flare example app with antialiasing toggle

A new Flutter example project is added in the simple directory, featuring a Flare animation demo. The app includes a floating action button that toggles antialiasing on the FlareActor, and a test suite that verifies the animation controller's advance behavior.

example/simple · high confidence

Added penguin\_dance example app

A new example application named 'penguin\_dance' has been added, featuring a dancing penguin animation. The change includes the complete project structure for iOS, Android, and macOS platforms, along with the Dart source code that renders the animation and provides UI controls to adjust the animation speed and intensity.

_example/penguin\dance · high confidence

Flare Flutter library and changelog added

The flare\_flutter package is now included in the repository, providing the Flutter runtime for Flare animations. This release includes a comprehensive CHANGELOG.md documenting the history of the library, along with standard project files such as the MIT LICENSE, a README with usage instructions, and configuration files (analysis\_options.yaml, flare.iml) to support development and static analysis.

_flare\flutter · high confidence

Generated plugin registrant files added for Android and iOS

New generated plugin registrant files have been added for both Android (Java) and iOS (Objective-C), along with Android local configuration properties. These files are automatically generated by the Flutter tooling to handle plugin registration, ensuring that the app correctly initializes native plugins at startup.

_flare\flutter/android · high confidence

Architecture

Refactored Flare library into a modular base for cross-platform reuse

The Flare library has been refactored into a modular structure, separating the core \flare\_dart\ base library from the Flutter-specific implementation. This change introduces a new \AssetProvider\ abstraction for loading assets, allowing the core logic to be reused in other environments like Dart2JS or the server side. The \Actor\ and \ActorArtboard\ classes have been restructured to support this separation, with new files such as \actor.dart\, \actor\_artboard.dart\, and \asset\_provider.dart\ defining the base components. This enables better testability and broader compatibility beyond just Flutter widgets.

_flare\flutter/lib · high confidence

Behavioural changes

Add space\_reload example with iOS platform target

The space\_reload example now targets iOS, as indicated by the addition of iOS-specific configuration files (such as the Xcode project, Info.plist, and build scripts) and the explicit setting of the Flutter target platform to iOS in main.dart. The example demonstrates a custom pull-to-refresh control using Flare animations.

_example/space\reload · medium confidence

Deprecation notice and null-safety migration guide for Flare 1

The README has been updated to inform users that Flare 1 (formerly Flare) is being superseded by the new Rive Flutter runtime. It provides a migration path, noting that the separate \flare\_dart\ package is no longer maintained and users should use \flare\_flutter\ instead. Additionally, it highlights that version 3.0.0 introduces null safety support.

(repo-wide) · high confidence

Dependencies

Updated flare\_flutter to version 3.0.2

The flare\_flutter package has been updated to version 3.0.2, which includes updated dependencies for the collection and meta packages. This update ensures compatibility with the Dart SDK version 2.12.0 or higher.

(dependencies) · high confidence

Housekeeping

Added Flutter project configuration and ignore files

The example directory now includes a .gitignore file to exclude common build artifacts and IDE settings, and a .metadata file to track the specific Flutter SDK revision and channel (beta) for the project.

example · high confidence

Written by watchdog.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

How this codebase got here

Score

  • CAI 48 → 51 (+2.8)
  • Rubric changed (rubric-2026.08.19 → rubric-2026.09.15) — scores are not directly comparable.

Lenses

  • Code Health 91 → 90 (-1.8)
  • Architecture 100 → 94 (-5.8)
  • Maturity 36 → 50 (+13.7)
  • Readiness 26 → 26 (+0.0)
  • Security 100 → 100 (+0.0)
  • Domain Modelling 100 → 100 (+0.0)

Resolved (7)

  • Coverage not included — suite not readable by the collector
  • Dependency hygiene not measured — dependency manifest found but not parsed for hygiene
  • No exposed public API
  • Scanner failed to run — not a clean result
  • Test reliability not included
  • complexity unreadable for .dart, .java, .swift — churn × complexity hotspots could not be measured
  • dormant codebase — no living knowledge left to concentrate

New (91)

  • ActorAnimation.triggerEvents (cognitive 45) (flare_flutter/lib/base/animation/actor_animation.dart)
  • ActorArtboard.advance (cognitive 16) (flare_flutter/lib/base/actor_artboard.dart)
  • ActorArtboard.readComponentsBlock (cyclomatic 40) (flare_flutter/lib/base/actor_artboard.dart)
  • ActorBasePath.getPathOBB (cognitive 35) (flare_flutter/lib/base/actor_path.dart)
  • ActorIKConstraint.completeResolve (cognitive 25) (flare_flutter/lib/base/actor_ik_constraint.dart)
  • ActorIKConstraint.completeResolve (cyclomatic 18) (flare_flutter/lib/base/actor_ik_constraint.dart)
  • ActorIKConstraint.constrain (cognitive 21) (flare_flutter/lib/base/actor_ik_constraint.dart)
  • ActorImage.updateVertexPositionBuffer (cognitive 25) (flare_flutter/lib/base/actor_image.dart)
  • ActorRotationConstraint.constrain (cognitive 36) (flare_flutter/lib/base/actor_rotation_constraint.dart)
  • ActorRotationConstraint.constrain (cyclomatic 20) (flare_flutter/lib/base/actor_rotation_constraint.dart)
  • ActorScaleConstraint.constrain (cognitive 41) (flare_flutter/lib/base/actor_scale_constraint.dart)
  • ActorScaleConstraint.constrain (cyclomatic 23) (flare_flutter/lib/base/actor_scale_constraint.dart)
  • ActorShape.computeAABB (cognitive 43) (flare_flutter/lib/base/actor_shape.dart)
  • ActorShape.computeAABB (cyclomatic 20) (flare_flutter/lib/base/actor_shape.dart)
  • ActorTranslationConstraint.constrain (cognitive 41) (flare_flutter/lib/base/actor_translation_constraint.dart)
  • ActorTranslationConstraint.constrain (cyclomatic 23) (flare_flutter/lib/base/actor_translation_constraint.dart)
  • Cubic.getT (cognitive 17) (flare_flutter/lib/base/animation/interpolation/cubic_ease.dart)
  • Dependency hygiene PARTLY measured — Maven/Gradle declarations read, no dependency graph resolved
  • Documentation: no installation or build instructions (README.md)
  • Documentation: no usage examples (README.md)
  • …and 71 more

Written by watchdog.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

Survey your own repository

2d-inc/Flare-Flutter was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.

About this page

  • The score is its most recent published measurement, taken on 23 September 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit 3c3146429418eaae09b20704a48754f7b5b53e82 — the exact code this score is about.
  • Scored under rubric-2026.09.15 — the same rubric and the same method as every other entry in this index.
  • Measured by watchdog.canine.dev using codehealth-analyzer preprod-955b9cee9818.