initial commit

This commit is contained in:
2026-02-08 11:04:35 +05:30
parent a1287b696a
commit e1be0429bd
24 changed files with 1041 additions and 2 deletions

26
lib/widgets/prjFAB.dart Normal file
View File

@@ -0,0 +1,26 @@
import "package:flutter/material.dart";
import "package:prod/models/globalModel.dart";
import "package:prod/models/project.dart";
import "package:provider/provider.dart";
class ProjFAB extends StatelessWidget {
const ProjFAB({super.key});
@override
Widget build(BuildContext context) {
return FloatingActionButton(
onPressed: () {
Provider.of<GlobalModel>(context, listen: false).addPrj(
Project.validated(
"Kimi",
"Rust",
"/home/arrow/Gitted/cowin",
[],
true,
),
);
},
child: Icon(Icons.add),
);
}
}