auto_strings 1.0.2+2 copy "auto_strings: ^1.0.2+2" to clipboard
auto_strings: ^1.0.2+2 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 Flutter:

 $ flutter pub add auto_strings

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

dependencies:
  auto_strings: ^1.0.2+2

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:auto_strings/auto_strings.dart';
1
likes
150
points
11
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

Documentation

API reference

License

MIT (license)

Dependencies

flutter, path

More

Packages that depend on auto_strings