Fixed the Issue #48.

Localization is hardcoded to english since 3.2.0 #48

Added the localization use and boolean
This commit is contained in:
Nilashish Roy
2025-02-07 23:00:18 +06:00
parent 282ed6e0be
commit 9faf5a79cf
3 changed files with 30 additions and 40 deletions

View File

@@ -89,6 +89,7 @@ class MyAppState extends State<MyApp> {
],
localizationsDelegates: const [
CountryLocalizations.delegate,
/// CountryLocalizations.getDelegate(enableLocalization: false), // For no localization only english just declare delegate this way.
GlobalMaterialLocalizations.delegate,
GlobalWidgetsLocalizations.delegate,
],