Apply dart format to all files

This commit is contained in:
dmit.b
2026-05-15 19:09:25 +03:00
parent 6497c1eebf
commit 69f3d09e62
11 changed files with 191 additions and 171 deletions
+13 -1
View File
@@ -4,5 +4,17 @@ import 'package:flutter/foundation.dart' show kIsWeb;
class PlatformService {
bool get isWeb => kIsWeb;
bool get isNative => !kIsWeb;
String get platformName => isWeb ? 'web' : Platform.isAndroid ? 'android' : Platform.isIOS ? 'ios' : Platform.isWindows ? 'windows' : Platform.isMacOS ? 'macos' : Platform.isLinux ? 'linux' : 'unknown';
String get platformName => isWeb
? 'web'
: Platform.isAndroid
? 'android'
: Platform.isIOS
? 'ios'
: Platform.isWindows
? 'windows'
: Platform.isMacOS
? 'macos'
: Platform.isLinux
? 'linux'
: 'unknown';
}