Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. # ProxyProvider <code> void main() async { WidgetsFlutterBinding.ensureInitialized(); await EasyLocalization.ensureInitialized(); return runApp( MultiProvider( providers: [ Provider<SettingStore>( create: (BuildContext context) => SettingStore()), ProxyProvider<SettingStore, TimerStore>( update: (context, settingStore, timerStore) => TimerStore(settingStore), ), ], child: EasyLocalization( supportedLocales: [Locale('en', 'US'), Locale('ko', 'KR')], path: 'assets/translations', fallbackLocale: Locale('en', 'US'), child: MyApp(), ), ), ); } </code> open/proxyprovider.txt Last modified: 2024/10/05 06:15by 127.0.0.1