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,
  6. Object? arguments,
})

Implementation

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