2025-08-06 20:28:19 -07:00
|
|
|
// ignore_for_file: library_private_types_in_public_api, avoid_print, use_build_context_synchronously, unused_import
|
|
|
|
|
|
|
|
|
|
import 'dart:convert';
|
|
|
|
|
|
|
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
|
import 'package:flutter_dotenv/flutter_dotenv.dart';
|
|
|
|
|
import 'package:http/http.dart' as http;
|
2025-08-14 21:54:25 -07:00
|
|
|
import 'package:monarch/login.dart';
|
2025-08-13 22:51:09 -07:00
|
|
|
import 'package:monarch/speech.dart';
|
2025-08-06 20:28:19 -07:00
|
|
|
import 'package:monarch/support/add.dart';
|
2025-08-22 07:12:09 -07:00
|
|
|
import 'package:monarch/main_pages/Statistics/Budget/update_budget.dart';
|
2025-08-06 20:28:19 -07:00
|
|
|
import 'package:monarch/main_pages/HomePage/homepage.dart';
|
|
|
|
|
import 'package:monarch/main_pages/Statistics/statistics.dart';
|
|
|
|
|
|
|
|
|
|
Future<void> main() async {
|
|
|
|
|
WidgetsFlutterBinding.ensureInitialized();
|
|
|
|
|
runApp(const MyApp());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
class MyApp extends StatelessWidget {
|
|
|
|
|
const MyApp({super.key});
|
|
|
|
|
|
|
|
|
|
@override
|
|
|
|
|
Widget build(BuildContext context) {
|
|
|
|
|
return MaterialApp(
|
|
|
|
|
debugShowCheckedModeBanner: false,
|
|
|
|
|
theme: ThemeData(primarySwatch: Colors.blue),
|
2025-08-27 22:50:24 -07:00
|
|
|
home: const LoginScreen(),
|
2025-08-13 22:51:09 -07:00
|
|
|
|
2025-08-12 19:55:45 -07:00
|
|
|
// home: const SpeechInputPage(),
|
2025-08-06 20:28:19 -07:00
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
}
|