ArbGenerator class

Constructors

ArbGenerator()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

addContextNotes(Map<String, dynamic> arbData) Map<String, dynamic>
Scan for ambiguous or repetitive strings and add context notes
addPluralAndGenderSupport(Map<String, String> newStrings) Map<String, dynamic>
Detect plural/gender patterns and generate ARB entries accordingly
cleanInvalidEntries(String filePath) → void
Clean ARB file by removing entries with invalid ICU syntax (Dart interpolation)
generateOrMerge({required Map<String, String> newStrings, required String filePath, String locale = 'en', bool suggestMeaningfulKeys = true, String keyFormat = 'camelCase'}) → void
Generate or merge ARB file, avoid key duplication, suggest meaningful keys, support custom key format