im_localized 0.0.2
im_localized: ^0.0.2 copied to clipboard
Flutter ICU compatible Localization library with support for JSONs, runtime parsing and injecting
im_localized #
Flutter ICU compatible Localization library with support for JSONs, runtime parsing and injecting
Features #
- ICU compatible
- parsing JSONs
- runtime parsing and injecting of localizations
Getting started #
Installation #
flutter pub add im_localized
Or add to your pubspec.yaml:
dependencies:
im_localized: <last_version>
Usage #
Checkout example/lib/main.dart for complete example.
void main() async {
WidgetsFlutterBinding.ensureInitialized();
await ImLocalizedApp.ensureInitialized();
runApp(
ImLocalizedApp.fromList(
app: const MyApp(),
initialTranslations: _initialTranslations,
),
);
}
Acknowledgments #
This library uses source code from the following projects:
- easy_localization by github.com/aissat/
- flutter_tools from the Flutter team
Additional information #
Work in progress
License #
LICENSE