add import export and items

This commit is contained in:
atseirjo
2026-10-28 08:10:55 +01:00
parent 07a1bb02fd
commit 4a1731f986
22 changed files with 1118 additions and 106 deletions
+19
View File
@@ -8,6 +8,7 @@ import '../widgets/filament_form.dart';
import '../widgets/filament_inventory.dart';
import 'anwendung_view.dart';
import 'bauteil_view.dart';
import 'export_view.dart';
class HomeView extends GetView<HomeController> {
static const routeName = '/home-view';
@@ -39,6 +40,24 @@ class HomeView extends GetView<HomeController> {
],
),
),
drawer: Drawer(
child: SafeArea(
child: ListView(
padding: const EdgeInsets.all(16),
children: [
const ListTile(title: Text('Filamentverwaltung')),
ListTile(
leading: const Icon(Icons.import_export),
title: const Text('Daten exportieren / importieren'),
onTap: () {
Navigator.of(context).pop();
Get.toNamed(ExportView.routeName);
},
),
],
),
),
),
body: SafeArea(
top: false,
child: Align(