flutter_is_emulator 1.0.0 copy "flutter_is_emulator: ^1.0.0" to clipboard
flutter_is_emulator: ^1.0.0 copied to clipboard

discontinued

Plugin to detect whether the current device is an emulator or simulator

Flutter Is Emulator plugin #

Plugin to detect whether the current device is an emulator or a simulator.

Getting Started #

First, you have to import the package in your dart files with:

import 'package:flutter_is_emulator/flutter_is_emulator.dart';

Then you just have to request if the device is an emulator (Android) or a simulator (iOS) with:

bool isAnEmulator = await FlutterIsEmulator.isDeviceAnEmulatorOrASimulator;
7
likes
40
pub points
38%
popularity

Publisher

verified publisherdaad.mobi

Plugin to detect whether the current device is an emulator or simulator

Repository (GitHub)
View/report issues

License

Apache-2.0 (license)

Dependencies

flutter

More

Packages that depend on flutter_is_emulator