felangel/equatable
A Dart package that helps to implement value based equality without needing to explicitly override == and hashCode. observed · 2026-08-28
Health v2 · maintenance only
82/100
- Activity 91
- Release rhythm 60
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 181
- age_days: 2796
- days_rel: 59
- days_push: 59
- n_releases_24m: 4
Adoption not part of the score
1087 stars · 119 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Equatable is a Dart package that implements value-based equality for your classes, overriding == and hashCode automatically so you don't have to write boilerplate. It requires no code generation and works across all Dart and Flutter platforms.
Use cases
- compare dart objects by value instead of identity
- avoid overriding == and hashCode manually
- make flutter state classes comparable in tests
- use value objects in sets and maps correctly
- reduce boilerplate in bloc state classes
- implement deep equality for complex class properties
When to choose
- you write Dart or Flutter code and need value equality without codegen
- you use bloc or similar patterns where state comparison matters
- you want a lightweight, zero-dependency-heavy equality solution
When to avoid
- you prefer code-generation approaches like freezed or built_value
- you need equality semantics beyond property-based comparison
- you're not working in Dart or Flutter
Facets
library · maturity stable
serialization developer-tools cross-platform mobile-development cross-platform equality hashcode value-objects flutter dart-package boilerplate-reduction
5 sources
- readme: https://github.com/felangel/equatable · fetched 2026-08-28 · 5d5cead78a0c
- homepage: https://pub.dev/packages/equatable · fetched 2026-08-29 · e071cf03e48a
- site_page: https://pub.dev/packages/equatable/install · fetched 2026-08-29 · f1561d636cad
- site_page: https://pub.dev/documentation/equatable/latest · fetched 2026-08-29 · 4c09be5fb07a
- site_page: https://pub.dev/packages/equatable/changelog · fetched 2026-08-29 · 483b7a17a69e
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| felangel/equatable | main | 82 |
For agents
markdown · JSON · MCP: product_card(name="felangel/equatable")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem