1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2024-11-22 12:59:21 +00:00
comunicmobile/lib/utils/flutter_utils.dart

10 lines
204 B
Dart

import 'dart:io';
/// Flutter utilities
///
/// @author Pierre Hubert
import 'package:flutter/foundation.dart' show kIsWeb;
bool get isWeb => kIsWeb;
bool get isAndroid => !isWeb && Platform.isAndroid;