removed unnecessary code

This commit is contained in:
2023-02-27 13:17:32 +01:00
parent 9b055d5479
commit d69f523c18
5 changed files with 91 additions and 76 deletions
-35
View File
@@ -108,38 +108,3 @@ class _AddScreenState extends State<AddScreen> {
);
}
}
/*import 'package:flutter/material.dart';
class AddScreen extends StatelessWidget {
const AddScreen({super.key});
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text('Neues Element hinzufügen'),
),
body: Column(
children: [
TextFormField(
decoration: InputDecoration(labelText: 'Titel'),
),
TextFormField(
decoration: InputDecoration(labelText: 'Beschreibung'),
),
TextFormField(
decoration: InputDecoration(labelText: 'Bild'),
),
ElevatedButton(
onPressed: () {
// Fügen Sie hier die Logik zum Hinzufügen eines neuen Elements hinzu
Navigator.pop(context);
},
child: Text('Hinzufügen'),
),
],
),
);
}
}*/