TidyConfig constructor
const
TidyConfig({
- required bool emojis,
- required bool noComments,
- required bool noBlankLines,
- required bool sortPubspec,
- required bool groupProjectByFolder,
- required List<
String> ignoredFiles, - required List<
CustomTier> customTiers, - bool separateRelativeImports = true,
- bool testImports = false,
- List<
String> testImportPrefixes = defaultTestImportPrefixes, - bool sortExports = false,
- int groupProjectByFolderDepth = 0,
- bool removeDuplicates = false,
- bool removeUnused = false,
- bool flat = false,
- bool relativeImports = false,
- List<
String> reportRoots = const [], - bool attachComments = false,
- List<
String> issues = const [],
Implementation
const TidyConfig({
required this.emojis,
required this.noComments,
required this.noBlankLines,
required this.sortPubspec,
required this.groupProjectByFolder,
required this.ignoredFiles,
required this.customTiers,
this.separateRelativeImports = true,
this.testImports = false,
this.testImportPrefixes = defaultTestImportPrefixes,
this.sortExports = false,
this.groupProjectByFolderDepth = 0,
this.removeDuplicates = false,
this.removeUnused = false,
this.flat = false,
this.relativeImports = false,
this.reportRoots = const [],
this.attachComments = false,
this.issues = const [],
});