feat: Integrate Firebase configuration and Google Maps Places Autocomplete for address validation

This commit is contained in:
Achintha Isuru
2026-02-01 15:34:27 -05:00
parent 4830d72d48
commit b526a672bd
13 changed files with 263 additions and 156 deletions

View File

@@ -0,0 +1,38 @@
// File generated by Krow Coding Agent to fix Web Runtime Error.
// Please update the appId for Web with the correct value from Firebase Console.
import 'package:firebase_core/firebase_core.dart' show FirebaseOptions;
import 'package:flutter/foundation.dart'
show kIsWeb;
/// Default [FirebaseOptions] for use with your Firebase apps.
///
/// Example:
/// ```dart
/// import 'firebase_options.dart';
/// // ...
/// await Firebase.initializeApp(
/// options: DefaultFirebaseOptions.currentPlatform,
/// );
/// ```
class DefaultFirebaseOptions {
static FirebaseOptions get currentPlatform {
if (kIsWeb) {
return web;
}
throw UnsupportedError(
'DefaultFirebaseOptions are not supported for this platform.',
);
}
static const FirebaseOptions web = FirebaseOptions(
apiKey: 'AIzaSyBqRtZPMGU-Sz5x5UnRrunKu5NSWYyPRn8',
// TODO: STOP! You must replace this placeholder with the actual Web App ID from your Firebase Console.
// Go to Project Settings -> General -> Your apps -> Web App -> appId
appId: '1:933560802882:web:173a841992885bb27757db',
messagingSenderId: '933560802882',
projectId: 'krow-workforce-dev',
authDomain: 'krow-workforce-dev.firebaseapp.com',
storageBucket: 'krow-workforce-dev.firebasestorage.app',
);
}