customPrint function
this will customize the prints and you can disable all prints at once
Implementation
void customPrint(
Object? data, {
bool showPrint = false,
bool overrideDebugCondition = true,
}) {
if (CustomStylesConfig.showPrintStatements || showPrint) {
if (kDebugMode || overrideDebugCondition) {
// ignore: avoid_print
print('${DateTime.now()} : $data');
return;
}
}
}