flutter_defender_localization_support library

Functions

flutterDefenderTextDirectionForLocale(Locale locale) TextDirection
Returns TextDirection.rtl for locales that are typically right-to-left, otherwise TextDirection.ltr. Used when forcing a blocking UI locale.
mergeFlutterDefenderSupportedLocales(List<Locale> appSupportedLocales) List<Locale>
Merges your app's appSupportedLocales with FlutterDefenderLocalizations.supportedLocales so MaterialApp can list every locale your delegates can load.
mergeLocaleLists(Iterable<Locale> first, Iterable<Locale> second) List<Locale>
Merges two locale lists without duplicates (first occurrence wins).