hardcoded_strings 0.0.2+1 copy "hardcoded_strings: ^0.0.2+1" to clipboard
hardcoded_strings: ^0.0.2+1 copied to clipboard

Linter which notifies if the user is using hardcoded strings or invalid Ditto keys

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add hardcoded_strings

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

dependencies:
  hardcoded_strings: ^0.0.2+1

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:hardcoded_strings/hardcoded_strings.dart';
3
likes
100
points
26
downloads

Publisher

verified publishersmaso.it

Weekly Downloads

Linter which notifies if the user is using hardcoded strings or invalid Ditto keys

Repository (GitHub)
View/report issues

Documentation

API reference

License

GPL-3.0 (license)

Dependencies

analyzer, analyzer_plugin, args, custom_lint_builder, flutter, freezed_annotation, http, json_annotation, mutex, path, yaml

More

Packages that depend on hardcoded_strings