flutterpack_localize library

Classes

FlutterPackLocalize
Provides access to translations for a specific locale.
FlutterPackLocalizeConfig
Manages the current locale, persistence, and lazy loading of translations.
FlutterPackLocalizeDelegate
Flutter LocalizationsDelegate for injecting translations into the widget tree.
FlutterPackLocalizeFileLoader
Loads JSON translation files from assets and caches them.
FlutterPackLocalizeUtils
Utility functions to resolve and interpolate translation keys.

Functions

tr(BuildContext context, String key, {Map<String, String>? params, int? plural}) String
Convenience function for quickly translating strings.