Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeexception_templates

Generic Dart exception and error classes for throwing and catching custom exceptions by type argument.

pub.devRemove
type_plus

Utility for introspecting and manipulating Dart types at runtime.

pub.devRemove
ScoresHealth70 (best)50
Maintenance71 (best)1
Quality97 (best)96
Popularity4274 (best)
Community4141
Compatibility100100
UsageDownloads (30 days)24k513k (best)
Likes930 (best)
Pub points160 / 160 (best)150 / 160
GitHub stars421 (best)
MaintenanceLatest release1.1.0, 2 months ago (best)2.1.1, 3 years ago
Major versions in 12 months10 (best)
Contributors11
Publishersimphotonics.comschultek.dev
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationNoNo
Direct dependencies10 (best)
LicenseBSD-3-CLAUSEMIT
Setup effortLowLow
JudgementStrengths
  • Enables catching exceptions based on type arguments.
  • Includes built-in colourized console output support.
  • Provides helper extension methods for identifier validation.
  • Works with any Dart platform without additional build steps.
  • Supports custom type ids and dynamic generic invocation.
Weaknesses
  • Limited to basic console formatting and generic exception wrappers.
  • No built-in localization for exception messages.
  • Relies on runtime registration of custom types.
  • No code‑generation; type safety is limited to runtime checks.
WarningsNone
  • Single maintainer
exception_templates vs type_plus: which Flutter package should you use? | pubscout