Files
kasir-grosir/lib/screens/products.dart

28 lines
883 B
Dart

import 'package:flutter/material.dart';
import '../widgets/template_screen.dart';
import '../widgets/app_drawer.dart';
class ProductsScreen extends StatelessWidget {
const ProductsScreen({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return const TemplateScreen(
title: 'Products',
drawer: AppDrawer(),
body: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Text('Produk / Katalog', style: TextStyle(fontSize: 20, fontWeight: FontWeight.bold)),
SizedBox(height: 12),
Text('TODO: Implement CRUD produk (SKU, barcode, harga, stok, unit, pack).'),
SizedBox(height: 12),
Text('Catatan:'),
Text('- Buat Room/SQLite entity untuk product.'),
Text('- Tambahkan import CSV untuk bulk upload.'),
],
),
);
}
}