verblaze_flutter 1.1.1
verblaze_flutter: ^1.1.1 copied to clipboard
Flutter SDK for Verblaze Translation Management System
Verblaze Flutter #
Verblaze Flutter is a lightweight and effective multilingual (i18n) solution for Flutter applications.
Features #
- 🚀 Simple and easy-to-use API
- 💾 Built-in cache support
- ⚡ High-performance translation processing
- 🔄 Dynamic language switching
- 📱 Optimized for Flutter applications
Installation #
Add this dependency to your pubspec.yaml file:
dependencies:
verblaze_flutter: ^1.1.1
Usage #
- Initialize Verblaze:
await Verblaze.initialize(
defaultLanguage: 'en',
supportedLanguages: ['en', 'es', 'fr'],
);
- Use translations:
// Using string extension
Text('hello'.tr()); // or
Text('hello'.translate());
// Directly
Text(Verblaze.translate('hello'));
- Change language:
await Verblaze.changeLanguage('fr');
License #
This project is licensed under the MIT License. See the LICENSE file for more information.
Release Notes #
See CHANGELOG.md for changes.