Skip to content
CAI
Software that uses CAICheck a score

simc/auto_size_text

63.4

Adequate · 23 September 2026

1.2k

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 that provides widgets for dynamic text resizing and grouping. It enables text to automatically scale to fit within specified bounds and allows multiple text widgets to synchronize their font sizes. The package includes comprehensive test coverage and runnable example applications to demonstrate its capabilities.

Features

Add Flutter demo app to showcase AutoSizeText features

A new demo application has been added to the \demo\ directory, providing an interactive interface to test various \AutoSizeText\ capabilities. The app includes dedicated screens for MaxLines, MinFontSize, Group synchronization, StepGranularity, PresetFontSizes, and OverflowReplacement, allowing users to visually verify how the library handles text resizing, grouping, and overflow states in both standard and rich text modes.

demo · high confidence

Add example app demonstrating AutoSizeText usage

A new example application has been added to showcase the AutoSizeText widget. The example imports the auto\_size\_text package and Flutter's material library, then renders a centered AutoSizeText widget that automatically resizes text to fit within two lines.

example · high confidence

Android demo app added

A new Android demo application has been added to the project, providing a runnable example of the library. The demo includes the necessary Android configuration files (AndroidManifest.xml, styles, and launch background) and a Java activity to host the Flutter engine, allowing users to run and test the auto\_size\_text functionality on Android devices.

demo/android · high confidence

Introduce AutoSizeGroup for synchronized text sizing

Added the AutoSizeGroup class and AutoSizeGroupBuilder widget, enabling multiple AutoSizeText widgets to synchronize their font sizes. The AutoSizeGroup manages a list of text widgets and ensures they all adopt the same font size, specifically the smallest among them. The AutoSizeGroupBuilder provides a convenient way to create and manage an AutoSizeGroup instance for its children.

lib/src · high confidence

Introduce AutoSizeText and AutoSizeGroupBuilder widgets

The library now exposes the AutoSizeText widget, which automatically resizes text to fit within its bounds, along with the AutoSizeGroupBuilder widget. These additions provide new capabilities for dynamic text sizing in Flutter applications.

lib · high confidence

Test coverage

Added comprehensive test coverage for AutoSizeText

Added a new suite of widget tests covering the core behaviors of the AutoSizeText widget. The new tests verify that text scaling respects width and height constraints, enforces min/max font size limits, handles text overflow replacement, applies preset font sizes, and manages text wrapping. Additionally, new tests confirm that text groups sync their font sizes correctly and that the textKey is properly applied to the underlying text widget.

test · high confidence

Dependencies

Add demo and example apps with updated dependencies

The diff introduces new project structures for the demo and example applications, including Android build configurations (build.gradle, settings.gradle, gradle.properties) and Dart pubspec files. The main library's pubspec.yaml is updated to specify Dart SDK '\>=2.12.0 \<3.0.0', indicating a move to null safety. The demo app's pubspec.yaml explicitly lists 'bottom\_navy\_bar: ^4.2.0' and 'material\_design\_icons\_flutter: ^4.0.5755' as dependencies, while the example app's pubspec.yaml references the local 'auto\_size\_text' package. This change provides concrete, runnable examples of the library's usage and updates the dependency manifests to reflect modern Dart/Flutter standards.

(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 → 63 (+8.0)
  • Rubric changed (rubric-2026.08.19 → rubric-2026.09.15) — scores are not directly comparable.

Lenses

  • Code Health 100 → 100 (-0.5)
  • Architecture 100 → 100 (+0.0)
  • Maturity 34 → 46 (+12.3)
  • Readiness 50 → 63 (+13.7)
  • Security 92 → 84 (-8.5)
  • 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 (12)

  • 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)
  • Duplicated block (21 lines × 2) (demo/lib/sync_demo.dart)
  • Duplicated block (28–29 lines × 4) (demo/lib/min_font_size_demo.dart)
  • High: security finding (details withheld)
  • High: security finding (details withheld)
  • Medium: security finding (details withheld)
  • Members sharing a duplicated core (4 members, 50+ identical tokens) (demo/lib/min_font_size_demo.dart)
  • No dependency advisory monitoring
  • Secret passed as a command-line argument
  • Workflow token permissions not restricted

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

Survey your own repository

simc/auto_size_text 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 f22397751271605ac46e8740d9e48ed631a74cb0 — 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.