login in system aber es funktioniert nicht

Bitteschön
This commit is contained in:
2026-04-01 23:16:01 +02:00
commit af7e2021f0
132 changed files with 4927 additions and 0 deletions

View File

@@ -0,0 +1,82 @@
import 'package:flutter/material.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Handwerksapp',
debugShowCheckedModeBanner: false,
home: const HomePage(),
);
}
}
class HomePage extends StatelessWidget {
const HomePage({super.key});
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text(
"Handwerksapp",
style: TextStyle(
color: Colors.white,
),
),
backgroundColor: Colors.deepPurple,
),
body: Center (
child: Column(
children: [
Text(
"Logen sie sich bitte ein",
style: TextStyle(
color: Colors.white,
),
),
SizedBox(height: 20),
TextField(
decoration: InputDecoration(
labelText: 'E-mail',
border: OutlineInputBorder(),
),
style: TextStyle(
color: Colors.white,
),
),
SizedBox(height: 20),
TextField(
obscureText: true,
decoration: InputDecoration(
labelText: 'Passwort',
border: OutlineInputBorder(),
),
style: TextStyle(
color: Colors.white,
),
),
SizedBox(height: 20),
ElevatedButton(
onPressed: (){
print("login gedrückt");
},
child: Text("Login"),
)
],
),
),
backgroundColor: const Color.fromARGB(255, 0, 0, 0),
);
}
}