f_cleaner 1.1.0
f_cleaner: ^1.1.0 copied to clipboard
A CLI tool to scan directories for Flutter projects and run 'flutter clean' to free up disk space.
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate f_cleaner
Use it
The package has the following executables:
$ f_cleaner
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add f_cleaner
With Flutter:
$ flutter pub add f_cleaner
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
f_cleaner: ^1.1.0
Alternatively, your editor might support dart pub get
or flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:f_cleaner/f_cleaner.dart';