no_late 0.2.0 copy "no_late: ^0.2.0" to clipboard
no_late: ^0.2.0 copied to clipboard

Dart analyzer plugin that prevents LateInitializationError by enforcing safe late keyword usage for lazy initialization only.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add no_late

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  no_late: ^0.2.0

Alternatively, 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:no_late/no_late.dart';
8
likes
40
points
117
downloads

Publisher

unverified uploader

Weekly Downloads

Dart analyzer plugin that prevents LateInitializationError by enforcing safe late keyword usage for lazy initialization only.

Repository (GitHub)
View/report issues

Topics

#dart #analyzer #lint #late #safety

License

BSD-3-Clause (license)

Dependencies

analyzer, analyzer_plugin, custom_lint_builder

More

Packages that depend on no_late