feat: Implement rapid order creation with voice and text input in client mobile app

This commit is contained in:
Achintha Isuru
2026-03-01 12:33:42 -05:00
parent b5001edf06
commit 315e8f9598
4 changed files with 55 additions and 36 deletions

View File

@@ -102,8 +102,10 @@ class AppWidget extends StatelessWidget {
>(
builder:
(BuildContext context, core_localization.LocaleState state) {
return core_localization.TranslationProvider(
child: MaterialApp.router(
return KeyedSubtree(
key: ValueKey<Locale>(state.locale),
child: core_localization.TranslationProvider(
child: MaterialApp.router(
debugShowCheckedModeBanner: false,
title: "KROW Client",
theme: UiTheme.light,
@@ -117,6 +119,7 @@ class AppWidget extends StatelessWidget {
GlobalCupertinoLocalizations.delegate,
],
),
),
);
},
),

View File

@@ -79,8 +79,10 @@ class AppWidget extends StatelessWidget {
>(
builder:
(BuildContext context, core_localization.LocaleState state) {
return core_localization.TranslationProvider(
child: MaterialApp.router(
return KeyedSubtree(
key: ValueKey<Locale>(state.locale),
child: core_localization.TranslationProvider(
child: MaterialApp.router(
title: "KROW Staff",
theme: UiTheme.light,
routerConfig: Modular.routerConfig,
@@ -93,6 +95,7 @@ class AppWidget extends StatelessWidget {
GlobalCupertinoLocalizations.delegate,
],
),
),
);
},
),