flutter_lighthouse 0.1.0 copy "flutter_lighthouse: ^0.1.0" to clipboard
flutter_lighthouse: ^0.1.0 copied to clipboard

Lighthouse for Flutter — drop in, tap once, and it auto-walks every route, scores performance 0–100, and emits actionable findings.

0.1.0 #

Initial release — "Lighthouse for Flutter".

  • One-call audit: Lighthouse.audit(context) + LighthouseOverlay dev button.
  • Auto-walk engine for named routes (push → dwell → scroll → collect → pop).
  • Metric collectors: frame build/raster timing, jank ratio, FPS, route load latency, memory delta, oversized-image detection, widget rebuild storms (via LighthouseProbe).
  • Chrome-Lighthouse-style log-normal scoring (0–100 overall + Performance / Responsiveness / Memory / Best-Practices sub-scores, per route). Fully deterministic; spec in SCORING_SPEC.md.
  • Severity-ranked findings with recommendations and code examples.
  • Automatic, accurate oversized-image detection via debugOnPaintImage (decoded-vs-displayed size); repeated paints collapse into one finding.
  • Cross-route attribution fixes in the walk engine: transitions settle outside the collection window so an outgoing route's dying rebuilds/frames are never blamed on the next screen (validated on-device — 0 false positives).
  • Example "bad app" demonstrating rebuild storm, oversized images, and UI-thread jank; on-device audit catches all three.
  • Exports: JSON, Markdown, HTML. In-app report screen with animated gauges.
  • 51 tests; flutter analyze clean; dart pub publish --dry-run 0 warnings.
0
likes
160
points
0
downloads
screenshot

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Lighthouse for Flutter — drop in, tap once, and it auto-walks every route, scores performance 0–100, and emits actionable findings.

Repository (GitHub)
View/report issues

Topics

#performance #audit #devtools #monitoring #lighthouse

License

MIT (license)

Dependencies

flutter

More

Packages that depend on flutter_lighthouse