Kasir Grosir: starter Flutter POS (scaffold awal)

This commit is contained in:
onie
2026-10-17 13:10:06 +07:00
commit 636579a0d2
146 changed files with 5373 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
import 'package:flutter/material.dart';
import '../widgets/template_screen.dart';
import '../widgets/app_drawer.dart';
class DashboardScreen extends StatelessWidget {
const DashboardScreen({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return const TemplateScreen(
title: 'Dashboard',
drawer: AppDrawer(),
body: SingleChildScrollView(
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Text('Ringkasan Harian', style: TextStyle(fontSize: 20, fontWeight: FontWeight.bold)),
SizedBox(height: 12),
Text('- Penjualan hari ini: TODO (implement)') ,
Text('- Piutang terutang: TODO (implement)'),
Text('- Stok kritis: TODO (implement)'),
SizedBox(height: 24),
Text('Catatan:', style: TextStyle(fontWeight: FontWeight.bold)),
Text('1. Ambil data penjualan lokal (SQLite) dan agregasi untuk ringkasan.'),
Text('2. Buat widget chart sederhana setelah data tersedia.'),
],
),
),
);
}
}