- Update product name in README, backend docs, and design tokens - Rename Flutter root widget to CityPulseApp and update tests - Update dashboard brand strings and HTML title - Refresh i18n strings (en/ms) and welcome taglines - Adjust backend API title/description and root message - Minor formatting in ApiService comments; no logic changes - Update Android/iOS manifest comments and pubspec description No API endpoints or response schema changes.
25 lines
564 B
Dart
25 lines
564 B
Dart
import 'package:flutter/material.dart';
|
|
import 'package:provider/provider.dart';
|
|
import 'app.dart';
|
|
import 'l10n/i18n.dart';
|
|
import 'l10n/locale_provider.dart';
|
|
export 'app.dart';
|
|
|
|
void main() async {
|
|
WidgetsFlutterBinding.ensureInitialized();
|
|
|
|
// Initialize locale provider
|
|
final localeProvider = LocaleProvider();
|
|
await localeProvider.init();
|
|
|
|
// Initialize i18n with the current locale
|
|
await I18n.init(localeProvider.locale);
|
|
|
|
runApp(
|
|
ChangeNotifierProvider.value(
|
|
value: localeProvider,
|
|
child: const CityPulseApp(),
|
|
),
|
|
);
|
|
}
|