StringAdder class

A comprehensive string manipulation and concatenation utility.

Constructors

StringAdder()

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

add(String a, String b) String
Concatenates two strings with a space in between.
addAll(List<String> strings, [String separator = ' ']) String
Concatenates multiple strings with a specified separator.
addAsTitle(String a, String b) String
Concatenates strings and converts to title case.
addCapitalized(List<String> strings) String
Adds strings with proper capitalization.
addPrefix(String text, String prefix) String
Adds a prefix to a string.
addSuffix(String text, String suffix) String
Adds a suffix to a string.
addWithDelimiter(String a, String b, String delimiter) String
Concatenates strings with a custom delimiter.
addWithLineBreaks(List<String> strings) String
Adds strings with line breaks.
safeAdd(String? a, String? b, [String defaultValue = '']) String
Safely concatenates strings (handles null values).