I18nAssetLoading extension
Adds ARB asset loading helpers to I18nController.
Methods
-
applyOverrideBundle(
String source, {required String locale, required String namespace}) → I18nBundle -
Available on I18nController, provided by the I18nAssetLoading extension
Applies a JSON or ARB payload as runtime overrides for one namespace. -
loadAssetBundle(
{required String locale, required String namespace, AssetBundle? assetBundle, String assetPattern = defaultI18nAssetPattern}) → Future< I18nBundle> -
Available on I18nController, provided by the I18nAssetLoading extension
Loads one ARB asset into this controller. -
loadAssetBundles(
{Iterable< String> ? namespaces, Iterable<String> ? locales, AssetBundle? assetBundle, String assetPattern = defaultI18nAssetPattern}) → Future<List< I18nBundle> > -
Available on I18nController, provided by the I18nAssetLoading extension
Loads multiple ARB assets into this controller and notifies once.