23 lines
586 B
Dart
23 lines
586 B
Dart
import 'package:app_gaslieferung/ui/page/login.dart';
|
|
import 'package:app_gaslieferung/ui/theme/theme.dart';
|
|
import 'package:flutter/material.dart';
|
|
|
|
void main() {
|
|
runApp(const MyApp());
|
|
}
|
|
|
|
class MyApp extends StatelessWidget {
|
|
const MyApp({super.key});
|
|
|
|
// This widget is the root of your application.
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return MaterialApp(
|
|
title: 'Flutter Demo',
|
|
theme: AppTheme.light(),
|
|
darkTheme: AppTheme.dark(),
|
|
themeMode: ThemeMode.light, // oder ThemeMode.dark / light
|
|
home: const LoginPage(),
|
|
);
|
|
}
|
|
} |