Skip to main content

flutter_janitor 1.0.1 copy "flutter_janitor: ^1.0.1" to clipboard
flutter_janitor: ^1.0.1 copied to clipboard

Conservative Flutter cleanup CLI for unused assets and dependencies with reports, backups, and undo.

example/flutter_janitor_example.dart

import 'package:flutter_janitor/flutter_janitor.dart';

Future<void> main() async {
  final engine = JanitorEngine();
  final writer = ReportWriter();

  // Run this example from inside a Flutter project directory.
  final result = await engine.scan(
    projectRoot: '.',
    options: const ScanOptions(format: ReportFormat.text),
  );

  final report = writer.renderScan(result, format: ReportFormat.text);
  print(report);
}
0
likes
160
points
46
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Conservative Flutter cleanup CLI for unused assets and dependencies with reports, backups, and undo.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

args, path, yaml

More

Packages that depend on flutter_janitor