Skip to content
CAI
Software that uses CAICheck a score

best-flutter/flutter_swiper

59.9

Adequate · 23 September 2026

2.7k

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 widget library designed to create image or content carousels with infinite looping and multiple layout modes such as STACK and TINDER. It provides a customizable Swiper widget that supports horizontal and vertical scrolling, auto-play, and pluggable UI components for pagination and controls. The project includes an example application for both Android and iOS platforms, along with automated CI testing and coverage reporting to ensure code quality.

Features

Initial example project scaffolding for Flutter

The example directory now contains the complete native project structures for Android and iOS, including AndroidManifest.xml, Gradle build scripts, and iOS Xcode project configurations. These files establish the standard Flutter application template, enabling developers to run the example app on both mobile platforms immediately after cloning the repository.

example · high confidence

Initial release of flutter\_swiper

The repository is initialized with the first version of the flutter\_swiper package, including core implementation, documentation (README, CHANGELOG), and build configuration (.travis.yml, .gitignore). This establishes the foundation for a Flutter widget that supports infinite looping, multiple layouts (DEFAULT, STACK, TINDER), and customizable pagination and controls.

(repo-wide) · high confidence

Initial release of the Flutter Swiper widget

The library introduces a new \Swiper\ widget for creating image or content carousels in Flutter. This initial release provides a \Swiper\ stateful widget that supports horizontal and vertical scrolling, auto-play functionality, and loop modes. It includes built-in layout modes (DEFAULT, STACK, TINDER, CUSTOM) and pluggable UI components for pagination (e.g., \FractionPaginationBuilder\, \DotSwiperPaginationBuilder\) and controls (e.g., \SwiperControl\ for previous/next buttons). The API is exposed via \lib/flutter\_swiper.dart\ and its source files in \lib/src/\, including controllers and plugin interfaces.

lib/src · high confidence

Behavioural changes

Automated CI scripts for Flutter testing and formatting

Added new Travis CI scripts (travis\_install.sh and travis\_script.sh) to automate the development environment setup and test execution. The installation script configures the Flutter SDK and installs the coveralls-lcov gem for coverage reporting. The script shard handles code formatting checks and runs the full test suite with coverage enabled, ensuring consistent code style and test execution in the CI pipeline.

dev · high confidence

Test coverage

Added unit tests for Flutter Swiper components

Added new test files (control\_test.dart, flutter\_swiper\_test.dart, layout\_test.dart, pagination\_test.dart) that verify the behavior of the Swiper widget, including default configurations, loop modes, children/list constructors, plugins, custom pagination, fraction display, zero-item handling, and layout modes (STACK, TINDER, DEFAULT, CUSTOM).

test · high confidence

Dependencies

Updated Dart SDK and Flutter version constraints

The project's Dart SDK constraint was updated to require version 2.0.0 or higher (specifically \>=2.0.0 \<3.0.0), ensuring compatibility with modern Dart releases. Additionally, the Flutter SDK constraint was updated to require version 0.1.4 or higher (specifically \>=0.1.4 \<3.0.0).

(dependencies) · 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

This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings — which rule fired, in which file, on which line, and how to fix it — are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.

Score

  • CAI 55 → 60 (+4.6)
  • Rubric changed (rubric-2026.08.19 → rubric-2026.09.15) — scores are not directly comparable.

Lenses

  • Code Health 95 → 96 (+1.4)
  • Architecture 100 → 100 (-0.1)
  • Maturity 35 → 47 (+12.3)
  • Readiness 46 → 44 (-1.4)
  • Security 100 → 96 (-4.0)
  • Domain Modelling 100 → 100 (+0.0)

Resolved (6)

  • 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
  • Test reliability not included
  • complexity unreadable for .dart, .java — churn × complexity hotspots could not be measured
  • dormant codebase — no living knowledge left to concentrate

New (13)

  • Dependency hygiene PARTLY measured — Maven/Gradle declarations read, no dependency graph resolved
  • Documentation: no installation or build instructions (README.md)
  • Duplicated block (12 lines × 2) (lib/src/swiper.dart)
  • Duplicated block (13 lines × 2) (example/lib/main.dart)
  • Duplicated block (13 lines × 2) (example/lib/src/ExampleSwiperInScrollView.dart)
  • Duplicated block (15 lines × 2) (example/lib/main.dart)
  • Duplicated block (15 lines × 2) (lib/src/swiper.dart)
  • Duplicated block (17 lines × 2) (lib/src/swiper_pagination.dart)
  • Duplicated block (27 lines × 2) (lib/src/swiper.dart)
  • Duplicated block (9 lines × 2) (example/lib/main.dart)
  • High: security finding (details withheld)
  • No dependency advisory monitoring
  • _SwiperState._buildSwiper (cognitive 30) (lib/src/swiper.dart)

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

Survey your own repository

best-flutter/flutter_swiper 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 71eb23671d46f624790019963c7ce10456dec652 — 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.