team_guard 1.0.3
team_guard: ^1.0.3 copied to clipboard
A powerful custom lint plugin for Dart and Flutter that prevents the use of forbidden widgets in your team projects. Configure which widgets are not allowed and get real-time feedback.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart 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.3Alternatively, your editor might support dart 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';