price per item is printed

This commit is contained in:
atseirjo
2026-10-28 12:32:49 +01:00
parent c32adbad50
commit 77fbe16867
31 changed files with 656 additions and 55 deletions
+23 -10
View File
@@ -6,6 +6,7 @@ import '../models/kauf_filament_model.dart';
import '../theme/app_theme.dart';
import '../widgets/filament_form.dart';
import '../widgets/filament_inventory.dart';
import '../widgets/app_version.dart';
import 'anwendung_view.dart';
import 'bauteil_view.dart';
import 'export_view.dart';
@@ -27,17 +28,27 @@ class HomeView extends GetView<HomeController> {
),
const SizedBox(width: 8),
],
title: const Row(
children: [
Icon(Icons.all_inbox_rounded, color: AppTheme.teal, size: 28),
SizedBox(width: 12),
Flexible(
child: Text(
'Filamentverwaltung',
style: TextStyle(fontSize: 21, fontWeight: FontWeight.w700),
title: LayoutBuilder(
builder: (context, constraints) => Row(
children: [
if (constraints.maxWidth >= 260) ...[
const Icon(
Icons.all_inbox_rounded,
color: AppTheme.teal,
size: 28,
),
const SizedBox(width: 12),
],
const Flexible(
child: Text(
'Filamentverwaltung',
maxLines: 2,
overflow: TextOverflow.ellipsis,
style: TextStyle(fontSize: 21, fontWeight: FontWeight.w700),
),
),
),
],
],
),
),
),
drawer: Drawer(
@@ -46,6 +57,8 @@ class HomeView extends GetView<HomeController> {
padding: const EdgeInsets.all(16),
children: [
const ListTile(title: Text('Filamentverwaltung')),
const AppVersion(),
const Divider(),
ListTile(
leading: const Icon(Icons.import_export),
title: const Text('Daten exportieren / importieren'),