emulator_checker 0.0.3
emulator_checker: ^0.0.3 copied to clipboard
A Flutter plugin that detects whether an application is running on an emulator or a physical device. This can be useful for security purposes, analytics, and feature flagging, allowing developers to t [...]
example/emulator_checker_example.dart
import 'package:emulator_checker/emulator_checker.dart';
void main() {
var awesome = Awesome();
print('awesome: ${awesome.isAwesome}');
print('EmulatorChecker: ${EmulatorChecker().isEmulator()}');
}