DartConfig constructor

const DartConfig({
  1. bool runAnalyzer = true,
  2. bool formatCode = true,
  3. bool runTests = true,
  4. bool compileExe = true,
  5. Duration runPubGetAtMostEvery = const Duration(days: 5),
  6. String? rootDir,
  7. FileCollection? sources,
  8. FileCollection? buildSources,
  9. FileCollection? testSources,
  10. DartTestOutput testOutput = DartTestOutput.dartleReporter,
  11. RunCondition? buildRunnerRunCondition,
})

Implementation

const DartConfig({
  this.runAnalyzer = true,
  this.formatCode = true,
  this.runTests = true,
  this.compileExe = true,
  this.runPubGetAtMostEvery = const Duration(days: 5),
  this.rootDir,
  this.sources,
  this.buildSources,
  this.testSources,
  this.testOutput = DartTestOutput.dartleReporter,
  this.buildRunnerRunCondition,
});