auto_strings
A simple Dart/Flutter code generator that converts plain text into static const String fields.
What this package is like to depend on
Last release 5 months ago
25 Feb 2026
Release timing varies
gaps range from 8 days to 3 months
Nearly every release is documented
notes for 9 of 9 stable releases
Nothing withdrawn
no release was ever pulled
1 years old
9 releases · first in 2025
4 releases in the last 12 months
see the full history below
Release timeline
9 releases · Aug 2025 to Feb 2026
2026
Releases
latest 9-
1.0.425 Feb 2026Release notes
Open source →- 🔢 Fixed invalid Dart identifiers for strings starting with digits
- 🔄 Digit-starting words are now moved to the end of the identifier (e.g.
"404 Not Found"→notFound404) - 🛡️ Fallback
sprefix applied only when all words start with digits
-
1.0.302 Dec 2025Release notes
Open source →- 🛡️ Added Dart keyword conflict prevention
- 🔤 Reserved keywords (e.g.,
continue,class,int) now auto-suffixed withStr
-
1.0.226 Aug 2025Release notes
Open source →Features
- ✨ Added
AutoStringsGeneratorto generate Dart string constants from input text files - 🔤 Implemented camelCase key conversion with duplicate handling
- 🛡️ Escaped special characters (
",\,\n,\t) for Dart string safety - 📜 Multiline-safe string handling and empty line filtering
- 📦 Default class name set to
AppStringsif not provided
- ✨ Added
-
1.0.2+126 Aug 2025 -
1.0.2+227 Aug 2025 -
1.0.2+317 Nov 2025Release notes
Open source →- 📚 Added comprehensive example section with working demos
- ✨ Included sample
main.dartdemonstrating real-world usage - 📝 Added example
README.mdwith step-by-step instructions - 🎯 Example now appears on pub.dev for better discoverability
- 🐛 Fixed: Removed
import 'package:flutter/foundation.dart'dependency - 🔧 Replaced
debugPrint()with standardprint()for better compatibility
-
1.0.2+426 Nov 2025Release notes
Open source →- 🔧 Replaced
print()with standardstdout.writeln()for better compatibility
- 🔧 Replaced
-
1.0.110 Aug 2025 -
1.0.010 Aug 2025Release notes
Open source →- Initial release of Auto Strings.
- Generates static constants from text file.