LocalizationCheckerConfig constructor

LocalizationCheckerConfig({
  1. required String projectPath,
  2. List<String>? scanPaths,
  3. List<String> excludeDirs = const ['build', '.dart_tool', '.pub', '.git', 'test', 'bin'],
  4. List<String> excludeFiles = const [],
  5. bool verbose = false,
  6. bool includeComments = false,
  7. List<String> customUiPatterns = const [],
})

Implementation

LocalizationCheckerConfig({
  required this.projectPath,
  List<String>? scanPaths,
  this.excludeDirs = const [
    'build',
    '.dart_tool',
    '.pub',
    '.git',
    'test',
    'bin'
  ],
  this.excludeFiles = const [],
  this.verbose = false,
  this.includeComments = false,
  this.customUiPatterns = const [],
}) : scanPaths = scanPaths ?? [path.join(projectPath, 'lib')];