customLogs function

void customLogs(
  1. Object? data, {
  2. bool showLog = false,
  3. bool overrideDebugCondition = false,
})

this will customize the prints and you can disable all logs at once

Implementation

void customLogs(
  Object? data, {
  bool showLog = false,
  bool overrideDebugCondition = false,
}) {
  if (CustomStylesConfig.showLogStatements || showLog) {
    if (kDebugMode || overrideDebugCondition) {
      log(data.toString());
      return;
    }
  }
}