fooder-app/lib/main.dart

33 lines
678 B
Dart
Raw Normal View History

2023-07-29 18:10:10 +02:00
import 'package:flutter/material.dart';
2023-07-29 20:01:56 +02:00
import 'package:fooder_web/screens/login.dart';
import 'package:fooder_web/client.dart';
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
2023-07-30 13:21:45 +02:00
title: 'FOODER',
2023-07-29 20:01:56 +02:00
theme: ThemeData(
colorScheme: ColorScheme.fromSeed(
seedColor: Colors.blueGrey,
brightness: Brightness.dark,
),
useMaterial3: true,
),
home: LoginScreen(
apiClient: ApiClient(
baseUrl: 'https://fooderapi.domandoman.xyz/api',
),
),
);
}
}
2023-07-29 18:10:10 +02:00
void main() {
runApp(const MyApp());
}