pub_update_checker 1.2.1 copy "pub_update_checker: ^1.2.1" to clipboard
pub_update_checker: ^1.2.1 copied to clipboard

Check if your dart script package is up to date in one line.

example/example.dart

import 'package:pub_update_checker/pub_update_checker.dart';

void main() async {
  final newVersion = await PubUpdateChecker.check();
  if (newVersion != null) {
    print('There is an update available: $newVersion');
  } else {
    print('No update available');
  }
}
2
likes
160
pub points
36%
popularity

Publisher

verified publisherrexios.dev

Check if your dart script package is up to date in one line.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

pub_api_client, pub_semver, yaml

More

Packages that depend on pub_update_checker