Text Manager
Manage your wordings in one place, with multilingual support.
Widget sample
AppsPanelText(
textKey: "hello_user",
args: {"NAME": user.name},
style: myTextStyle,
),
String sample
final String message = await AppsPanel.textManager("hello_user", {"NAME": user.name});
Arguments
You can pass param args
to AppsPanelTextManager()
and textManager()
to replace pattern.
// today = "Today it's ##DAY##, it's ##HOUR##"
AppsPanel.textManager("today", {"DAY": "Monday", "HOUR": "14h"});
// return "Today it's Monday, it's 14h"
Android Text Manager
Refer to Text Manager (v5.2) :
https://appspanel.readme.io/docs/text-manager-v52
iOS Text Manager
Refer to Text Manager (v5) :
https://appspanel.readme.io/docs/ios-text-manager-v5
Updated over 1 year ago