File.strait constructor
File.strait(})
File.strait generates the child strait through a method you give using a StraitWidget. You need a StraitWidget on around every strait content
File.strait(path, child: (List<Widget> cont) {
...
});
Implementation
factory File.strait(
String path, {
required Function(List<Widget>) child,
bool execute = false,
String? pack,
bool create = true,
Comment? header,
}) =>
File(
path,
child: StraitWidget(child),
execute: execute,
pack: pack,
create: create,
header: header,
);