Skip to content
CAI
Software that uses CAICheck a score

simc/auto_size_text

61.4

Adequate · 13 November 2026

1.2k

lines of production code

Dart

primary language

8

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 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 62 → 61 (-0.4)
  • Rubric changed (rubric-2026.10.5 → rubric-2026.11.3) — scores are not directly comparable.

Lenses

  • Code Health 88 → 85 (-2.5)
  • Architecture 100 → 100 (+0.0)
  • Maturity 43 → 43 (+0.0)
  • Readiness 67 → 67 (+0.0)
  • Security 89 → 89 (+0.0)

Findings

  • No change — the same findings as the prior survey.

Written by cca.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 13 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 f22397751271605ac46e8740d9e48ed631a74cb0 — the exact code this score is about.
  • Scored under rubric-2026.11.3 — 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.57+preprod-8ebfb01cf4c0.