TF-495 Only apply benchmark and fps on debug or profile mode

This commit is contained in:
dab246
2022-04-25 09:19:18 +07:00
committed by Dat H. Pham
parent d48df476e2
commit d0a54a2652
4 changed files with 44 additions and 20 deletions
+11
View File
@@ -0,0 +1,11 @@
import 'package:flutter/foundation.dart' as Foundation;
abstract class BuildUtils {
static const bool isDebugMode = Foundation.kDebugMode;
static const bool isReleaseMode = Foundation.kReleaseMode;
static const bool isWeb = Foundation.kIsWeb;
static const bool isProfileMode = Foundation.kProfileMode;
}