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
copied to clipboard

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
copied to clipboard

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';
copied to clipboard
3
likes
100
points
19
downloads

Publisher

verified publishersmaso.it

Weekly Downloads

2024.09.23 - 2025.04.07

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

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