mirror of
https://gitlab.com/comunic/comunicmobile
synced 2024-11-25 14:29:22 +00:00
10 lines
204 B
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; |