1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2025-02-16 21:52:38 +00:00
comunicmobile/lib/utils/flutter_utils.dart

10 lines
204 B
Dart
Raw Normal View History

2021-04-12 19:26:05 +02:00
import 'dart:io';
2021-03-14 17:44:29 +01:00
/// Flutter utilities
///
/// @author Pierre Hubert
import 'package:flutter/foundation.dart' show kIsWeb;
bool get isWeb => kIsWeb;
2021-04-12 19:26:05 +02:00
bool get isAndroid => !isWeb && Platform.isAndroid;