Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeflutter_hooks_lint_plugin

A Dart analyzer plugin providing lint rules for flutter_hooks.

pub.devRemove
git_hooks

Prevent bad git commit or push using Dart and Flutter, similar to Husky.

pub.devRemove
ScoresHealth56 (best)48
Maintenance59 (best)4
Quality96 (best)91
Popularity1757 (best)
Community1728 (best)
Compatibility8585
UsageDownloads (30 days)1.4k11k (best)
Likes838 (best)
Pub points150 / 160 (best)140 / 160
GitHub stars3131
MaintenanceLatest release0.8.0, 3 months ago (best)1.0.2, 2 years ago
Major versions in 12 months00
Contributors35 (best)
PublisherUnverifiedUnverified
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyNoNo
KindPure DartPure Dart
Code generationNoNo
Direct dependencies53 (best)
LicenseMITMIT
Setup effortLowLow
JudgementStrengths
  • Catches common bugs with missing dependencies in useEffect
  • Prevents rules of hooks violations like nesting hooks in control flow
  • Configurable via analysis_options.yaml
  • Write git hooks using familiar Dart code
  • Supports a wide range of git hooks via an enum
  • Easy initialization using shell commands or Dart code
Weaknesses
  • Requires analyzer plugin configuration in analysis_options.yaml and IDE restarts
  • Relies on Dart environment setup for git hooks execution
WarningsNoneNone
flutter_hooks_lint_plugin vs git_hooks: which Flutter package should you use? | pubscout