AppStringLocalizationExtension extension
Convenient localization and BiDi extensions on String.
- on
Properties
- asPhone → String
-
Available on String, provided by the AppStringLocalizationExtension extension
Isolates phone numbers or symbol-prefixed numbers using Unicode Left-to-Right Isolates (\u2066and\u2069), ensuring that leading+signs and digits never invert in RTL layouts.no setter - asTag → String
-
Available on String, provided by the AppStringLocalizationExtension extension
Isolates hashtags, user handles, or symbol-prefixed tokens (e.g.#AppForge,@handle) using Unicode isolates so that the leading#or@never flips to the wrong end in RTL or LTR contexts.no setter - forceLtr → String
-
Available on String, provided by the AppStringLocalizationExtension extension
Explicitly isolates this string in a Left-to-Right block.no setter - forceRtl → String
-
Available on String, provided by the AppStringLocalizationExtension extension
Explicitly isolates this string in a Right-to-Left block.no setter - isolateMixed → String
-
Available on String, provided by the AppStringLocalizationExtension extension
Automatically isolates mixed Latin/English script runs within this string using Unicode UAX #9 isolates when in RTL contexts.no setter - toArabicDigits → String
-
Available on String, provided by the AppStringLocalizationExtension extension
Converts Western Arabic numerals (0-9) within this string to Eastern Arabic (٠-٩).no setter - toWesternDigits → String
-
Available on String, provided by the AppStringLocalizationExtension extension
Converts Eastern Arabic numerals (٠-٩) within this string to Western Arabic (0-9).no setter - tr → String
-
Available on String, provided by the AppStringLocalizationExtension extension
Translates the string key using the active locale.no setter
Methods
-
trGender(
[AppGender? gender, Map< String, String> ? params, Map<String, String> ? forms]) → String -
Available on String, provided by the AppStringLocalizationExtension extension
Translates with grammatical gender selection. -
trGenderForms(
Map< String, String> forms, {AppGender? gender, Map<String, String> ? params}) → String -
Available on String, provided by the AppStringLocalizationExtension extension
Translates with grammatical gender selection and explicit forms map. -
trParams(
Map< String, String> params) → String -
Available on String, provided by the AppStringLocalizationExtension extension
Translates the string key with dynamic parameter interpolation. -
trPlural(
num count, {Map< String, String> ? forms, Map<String, String> ? params}) → String -
Available on String, provided by the AppStringLocalizationExtension extension
Translates with pluralization support.