feat: Implement Google Places Autocomplete for Staff Location

- Implemented strictly filtered Google Places Autocomplete (cities only) for Staff Profile Setup.
- Centralized Google Places API Key configuration in Core AppConfig.
- Updated Client Hubs to use the centralized AppConfig.
- Verified ViewOrdersCubit logic for weekly order summaries.
This commit is contained in:
2026-02-04 12:30:20 +05:30
parent 41b808d196
commit 1ba83e3ea6
15 changed files with 303 additions and 76 deletions

View File

@@ -1,4 +1,6 @@
import 'package:krow_core/krow_core.dart';
class HubsConstants {
static const String googlePlacesApiKey = String.fromEnvironment('GOOGLE_PLACES_API_KEY');
static const String googlePlacesApiKey = AppConfig.googlePlacesApiKey;
static const List<String> supportedCountries = <String>['us'];
}