Skip to content
CAI
Software that uses CAICheck a score

serenader2014/flutter_carousel_slider

48.0

Weak · 17 November 2026

1.4k

lines of production code

Dart

with C++, C

5

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

This system is a Flutter library that implements a carousel slider widget with support for multiple platforms including iOS, Android, Linux, and macOS. It provides programmatic control over the carousel's navigation and autoplay state, along with an optimized builder for handling large datasets. The project maintains a modernized example application to demonstrate usage and ensure compatibility with current Flutter and Android standards.

Features

Introduce external controller and on-demand item builder for CarouselSlider

The library now exposes a \CarouselSliderController\ that allows external code to programmatically control the carousel (e.g., \nextPage\, \previousPage\, \animateToPage\, \startAutoPlay\, \stopAutoPlay\) and wait for it to be ready via \onReady\. Additionally, a new \CarouselSlider.builder\ constructor enables on-demand item building, which is useful for large datasets or cooperating with Hero animations via the provided \realIndex\. The configuration is now encapsulated in a \CarouselOptions\ class, and the internal state management has been refactored to support these new capabilities.

lib · high confidence

Behavioural changes

Example project regenerated for modern Flutter platforms

The example application has been recreated to use the latest Flutter project structure, adding native support for Linux and macOS alongside the existing iOS and Android targets. This update includes platform-specific configuration files (such as CMake for Linux and Xcode project settings for macOS), updated iOS build scripts, and a new Dart analysis options file to enforce standard linting rules.

example · high confidence

Migrate example app to Flutter v2 embedding and Kotlin

The Android example project has been upgraded to use the Flutter v2 Android embedding, which changes how the app initializes and handles themes. The main activity has been migrated from Java to Kotlin, and the AndroidManifest.xml has been updated to declare the v2 embedding, use the new NormalTheme for the app's background, and set the activity as exported. Additionally, the build configuration now targets SDK 29, uses Kotlin standard library dependencies, and derives versioning from local properties.

example/android · high confidence

Test coverage

Removed default widget test file

The default Flutter widget test file (widget\_test.dart) containing the boilerplate 'Counter increments smoke test' has been removed from the project.

test · high confidence

Dependencies

Update example project to Kotlin DSL and modern Android configuration

The example application's Android build configuration has been migrated from Groovy to Kotlin DSL (build.gradle.kts), updating the Android Gradle Plugin to version 8.11.1 and Kotlin to 2.2.20. The project now targets Java 17, enables AndroidX with Jetifier, and uses the standard Flutter Gradle plugin. Additionally, the example's pubspec.yaml has been updated to specify an SDK constraint of \>=2.12.0 \<3.0.0, and the main package's pubspec.yaml now explicitly declares version 5.1.2 with an SDK constraint of \>=2.12.0 \<4.0.0. Lockfiles have been removed from the repository.

(dependencies) · high confidence

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

How this codebase got here

Score

  • CAI 47.1 → 48.0 (+0.9)
  • Rubric changed (rubric-2026.11.2 → rubric-2026.11.4) — scores are not directly comparable.

Lenses

  • Code Health 87.3 → 82.3 (-5.0)
  • Architecture 69.0 → 69.0 (0.0)
  • Maturity 50.2 → 48.5 (-1.7)
  • Readiness 24.5 → 28.4 (+3.9)
  • Security 100.0 → 100.0 (0.0)
  • Performance 100.0 → 100.0 (0.0)

Resolved (1)

  • No tests found

New (4)

  • Edited copies of one member (5 members, 16+ corresponding lines) (example/lib/main.dart)
  • Edited copy of a member (17 corresponding lines) (example/lib/main.dart)
  • Edited copy of a member (20 corresponding lines) (example/lib/main.dart)
  • Edited copy of a member (41 corresponding lines) (example/lib/main.dart)

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

Survey your own repository

serenader2014/flutter_carousel_slider 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 17 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit d7751cd7096b9eac71664fd89f78ba5b2e87c185 — the exact code this score is about.
  • Scored under rubric-2026.11.4 — the same rubric and the same method as every other entry in this index.
  • Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.85+preprod-eba6548ac50f.