INNER CODE UNIT · Dart
getPlatformInfo
darkmoonight/Zest · lib/platform/platform_features.dart:72
static Map<String, dynamic> getPlatformInfo() {
return {
'isMobile': isMobile,
'isDesktop': isDesktop,
'isWeb': isWeb,
'supportsNotifications': supportsNotifications,
'supportsQuickActions': supportsQuickActions,
'supportsDynamicColor': supportsDynamicColor,
'supportsScreenPrivacy': supportsScreenPrivacy,
'supportsDisplayMode': supportsDisplayMode,
};
}
static void logPlatformInfo() {
debugPrint('=== Platform Features ===');
getPlatformInfo().forEach((key, value) {
debugPrint('$key: $value');
});