29 lines
689 B
Dart
29 lines
689 B
Dart
import 'dart:io';
|
|
import 'package:flutter/material.dart';
|
|
import 'package:get/get.dart';
|
|
import 'pages/login/login_view.dart';
|
|
import 'utils/http_overrides.dart';
|
|
import 'utils/sample_routes.dart';
|
|
|
|
void main() {
|
|
HttpOverrides.global = MyHttpOverrides();
|
|
runApp(const MyApp());
|
|
}
|
|
|
|
class MyApp extends StatelessWidget {
|
|
const MyApp({super.key});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return GetMaterialApp(
|
|
title: 'Itis4You App',
|
|
theme: ThemeData(
|
|
colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
|
|
useMaterial3: true,
|
|
),
|
|
initialRoute: LoginPage.namedRoute,
|
|
getPages: SampleRouts.samplePages,
|
|
);
|
|
}
|
|
}
|