File.executeStrait constructor

File.executeStrait(
  1. String path, {
  2. required dynamic child(
    1. List<Widget>
    ),
  3. String? pack,
  4. bool create = true,
  5. Comment? header,
})

Implementation

factory File.executeStrait(
  String path, {
  required Function(List<Widget>) child,
  String? pack,
  bool create = true,
  Comment? header,
}) =>
    File(
      path,
      child: StraitWidget(child),
      execute: true,
      pack: pack,
      create: create,
      header: header,
    );