# simc/dartx

Superpowers for Dart. Collection of useful static extension methods.

Repository: https://github.com/simc/dartx
Canonical: https://ross.abutalabs.com/products/dartx
Homepage: https://pub.dev/packages/dartx
Language: Dart
License: Apache-2.0
License Family: permissive
Topics: dart, flutter, static-extension, superpowers, hacktoberfest
Last push: 2024-07-24T21:34:38+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 2513, "days_push": 770, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1095, forks 91 (observed 2026-08-28T04:03:34.078825+00:00)

## What it is
dartx is a Dart package providing a collection of useful static extension methods for core types like Iterable, String, int, Map, DateTime, and functions. It adds Kotlin-style conveniences such as slice, sortedBy, distinctBy, flatten, and chunkWhile to Dart and Flutter projects.

## Use cases
- slice and manipulate lists with negative indices in dart
- sort a list of objects by multiple properties in flutter
- get distinct elements from a list by a key in dart
- flatten nested lists in dart
- chunk a list while a predicate matches
- add null-safe string helpers like isNullOrBlank to dart
- kotlin-style collection extensions for dart

## When to avoid
- you prefer minimal dependencies and only need one or two trivial helpers
- your project already standardizes on package:collection and wants to avoid overlapping extension names
- you need actively evolving features — the package is stable but releases are infrequent

## Facets
- artifact type: library
- maturity: maintenance
- function: developer-tools
- domain: developer-tools, cross-platform
- platform: cross-platform
- tags: dart, flutter, static-extensions, collections, strings, utility-library

## Member repositories
- simc/dartx (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:34.078825+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:47:17.482107+00:00, confidence not recorded.
  - readme: https://github.com/simc/dartx (fetched 2026-08-28T04:03:34.078825+00:00, sha 09661f196760)
  - homepage: https://pub.dev/packages/dartx (fetched 2026-08-29T12:50:18.575415+00:00, sha b3f5a227b2f1)
  - site_page: https://pub.dev/packages/dartx/install (fetched 2026-08-29T12:50:18.580360+00:00, sha 334abf935e92)
  - site_page: https://pub.dev/documentation/dartx/latest/dartx/dartx-library.html (fetched 2026-08-29T12:50:18.582174+00:00, sha f17c1bf76811)
  - site_page: https://pub.dev/documentation/dartx/latest (fetched 2026-08-29T12:50:18.584134+00:00, sha e444c7aa9b68)
  - site_page: https://pub.dev/packages/dartx/changelog (fetched 2026-08-29T12:50:18.578357+00:00, sha 7cf20b51b789)
- Data as of 2026-08-30T08:39:29.467469+00:00.
