TF-495 Only apply benchmark and fps on debug or profile mode
This commit is contained in:
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user