Project constructor
Project({})
The project is a special Widget which is just defined once.
It contains some built options, like description or name, but also the entire underlying tree of packs, files and actions.
main() {
// create Project takes in one project and compiles it
createProject(
Project(
name: 'tested',
generate: mainWidget(),
));
}
Implementation
Project({
required this.name,
required this.generate,
this.version = 16,
this.target = './',
this.description = 'This is a datapack generated with objd by Stevertus',
});