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,34 @@
import 'package:flutter/material.dart';
class TemplateScreen extends StatelessWidget {
final String title;
final Widget body;
final List<Widget>? actions;
final FloatingActionButton? fab;
final Widget? drawer;
const TemplateScreen({
Key? key,
required this.title,
required this.body,
this.actions,
this.fab,
this.drawer,
}) : super(key: key);
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text(title),
actions: actions,
),
drawer: drawer,
body: Padding(
padding: const EdgeInsets.all(16.0),
child: body,
),
floatingActionButton: fab,
);
}
}