flutter_ditto 0.0.3+1
flutter_ditto: ^0.0.3+1 copied to clipboard
Simple library to interact with Ditto and retrieve remote localizations.
0.0.3+1 #
- Now you can translate texts by using the
id
field or thecomponent_api_id
field, if it's a component - You can change the app's locale by calling
DittoMaterialApp.setLocale()
orDittoCupertinoApp.setLocale()
0.0.2+1 #
- BREAKING CHANGES
- Removed named parameter
configs
fromDittoStore().initialize()
to make it a positional parameter - Renamed
ditto_context.dart
inditto_material_app.dart
- Replaced positional parameter in
translate()
with the named parametervariables
- Removed named parameter
- Added named parameters to
DittoContext
to matchMaterialApp
widget - Added
DittoCupertinoApp
widget which wrapsCupertinoApp
- Added named parameter
count
intotranslate()
for the plural translation