-
Notifications
You must be signed in to change notification settings - Fork 51
Open
Description
Hello,
I'm facing an issue with the code below :
MaterialApp(
debugShowCheckedModeBanner: false,
locale: ui.window.locale, // it is equal to String("fr")
localizationsDelegates: [
S.delegate,
],
localeResolutionCallback: S.delegate.resolution(fallback: const Locale('en', '')),
supportedLocales: S.delegate.supportedLocales,
);localeResolutionCallback is, as I understand, a callback when no local is found.
The problem is the following : localeResolutionCallback is always call and override locale: ui.window.locale...
Can you help me ?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels