pubspec_checker 1.2.0
pubspec_checker: ^1.2.0 copied to clipboard
A simple Dart package that checks the compatibility of all dependencies in the pubspec.yaml file for specified platforms
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add pubspec_checkerWith Flutter:
$ flutter pub add pubspec_checkerThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
pubspec_checker: ^1.2.0Alternatively, 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:pubspec_checker/pubspec_checker.dart';