analyze method

void analyze(
  1. String path,
  2. String content
)

Implementation

void analyze(
  String path,
  String content,
) {
  _checkPrintStatements(path, content);
  _checkLargeFiles(path, content);
  _checkHardcodedColors(path, content);
  _checkHardcodedStrings(path, content);
  _checkMissingConst(path, content);
  _checkBuildContextAsync(path, content);
  _checkDisposeMissing(path, content);
  _checkLargeBuildMethod(path, content);
  _checkHardcodedSizedBox(path, content);
  _checkBusinessLogicInUI(path, content);
  _checkNestedWidgets(path, content);
  _checkDirectNavigatorUsage(path, content);
  _checkSetStateUsage(path, content);
  _checkRepeatedButtonStyles(path, content);
  _checkLongParameterLists(path, content);
  _checkMountedNotUsed(path, content);
  _checkUnnecessarySetState(path, content);
  _checkLongWidgetTree(path, content);
  _checkRepeatedTextStyles(path, content);
  _checkRepeatedButtonWidgets(path, content);
  _checkMissingKeys(path, content);
  _checkLargeStatefulWidgets(path, content);
  _checkRepeatedScaffoldUsage(path, content);
  _checkDirectThemeUsage(path, content);
  _checkLargeMethods(path, content);
}