gamif_scanner 1.0.8
gamif_scanner: ^1.0.8 copied to clipboard
A Dart CLI tool that scans Flutter projects using AST analysis, detects all Dart methods automatically.
gamif_scanner #
A Dart CLI tool that scans Flutter projects using AST analysis, detects all Dart methods, and injects gamification tracking code automatically.
Installation #
dart pub global activate gamif_scanner
Usage #
Run from your Flutter project root:
dart pub global run gamif_scanner:setup .
Or target a specific project:
dart pub global run gamif_scanner:setup /path/to/flutter/project
What it does #
- Scans all Dart files using AST analysis
- Detects all methods automatically
- You choose which methods to track (CLI or Web UI)
- Injects
GamifTracker.track()into selected methods - Sends registered events to your Gamify dashboard
Requirements #
- Dart SDK >= 3.0.0
- A Flutter project with a
lib/folder - A Gamify API key from your dashboard