folder restructuring

This commit is contained in:
2026-05-05 21:44:23 +02:00
parent db9c3386f1
commit 4f796dac2e
102 changed files with 1254 additions and 879 deletions
+32
View File
@@ -0,0 +1,32 @@
import 'package:flutter/material.dart';
class PlaceholderView extends StatelessWidget {
final IconData icon;
final String text;
final Widget? button;
const PlaceholderView({super.key, required this.icon, required this.text, this.button});
@override
Widget build(BuildContext context) => Scaffold(
body: Center(
child: Container(
margin: const EdgeInsets.only(top: 100, left: 20, right: 20),
child: Column(
children: [
Container(
margin: const EdgeInsets.all(30),
child: Icon(icon, size: 60),
),
Text(
text,
style: const TextStyle(fontSize: 20,),
textAlign: TextAlign.center,
),
const SizedBox(height: 30),
?button,
],
),
),
),
);
}