mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-01-23 01:06:21 +01:00
8 lines
252 B
Dart
8 lines
252 B
Dart
import 'dart:io';
|
|
|
|
import 'package:flutter/foundation.dart';
|
|
|
|
const isWeb = kIsWeb;
|
|
// Platform n/a on web, need checking kIsWeb first
|
|
final isMobile = !kIsWeb && (Platform.isAndroid || Platform.isIOS);
|
|
final isAndroid = !kIsWeb && Platform.isAndroid;
|