team_guard 1.0.19
team_guard: ^1.0.19 copied to clipboard
Custom lint plugin to block forbidden Flutter widgets across team projects.
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate team_guardUse it
The package has the following executables:
$ check
$ doctor
$ init
$ migrate
$ setup
$ team_guard
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add team_guardWith Flutter:
$ flutter pub add team_guardThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
team_guard: ^1.0.19Alternatively, 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:team_guard/team_guard.dart';