auto_strings 1.0.1 copy "auto_strings: ^1.0.1" to clipboard
auto_strings: ^1.0.1 copied to clipboard

A simple Dart/Flutter code generator that converts plain text into static const String fields.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add auto_strings

With Flutter:

 $ flutter pub add auto_strings

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

dependencies:
  auto_strings: ^1.0.1

Alternatively, 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:auto_strings/auto_strings.dart';
2
likes
0
points
13
downloads

Publisher

unverified uploader

Weekly Downloads

A simple Dart/Flutter code generator that converts plain text into static const String fields.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, path

More

Packages that depend on auto_strings