1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2024-11-30 00:36:28 +00:00
comunicmobile/lib/utils/flutter_utils.dart

10 lines
204 B
Dart
Raw Normal View History

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