Shaun Wu|巫肖恩

Results 6 comments of Shaun Wu|巫肖恩

如果你用obx方式的话,你可以尝试一下。 1. 在Controller内,创建值 `final RxString currentLocale = 'en_US'.obs;` 2. 更改语言的函数 ``` void changeLocale() { if (currentLocale.value == 'en_US') { Get.updateLocale(Locale('zh', 'CN')); currentLocale.value == 'zh_CN'; } else { Get.updateLocale(Locale('en', 'US')); currentLocale.value...

I cannot replicate your issue. Assuming, on Current Page... `onTap: () => Get.offAndToNamed('InfoDetail', arguments: {'url': model.url})`. Then on InfoDetail Page, you can add Get.arguments to a Text Widget and the...

this one works for me. try/catch block. https://medium.com/@jrizmal/stripe-payment-system-in-flutter-276b53940927

> Try this, it's worked for me: > > ``` > GetMaterialApp( > themeMode: ThemeMode.system, > darkTheme: ThemeData.dark(), > theme: ThemeData.light(), > ) > ``` Thanks! My phone is on...