Last updated:
0 purchases
flutter is emulator fixed
Flutter Is Emulator plugin #
Plugin to detect whether the current device is an emulator or simulator
Getting Started #
First, you just have to import the package in your dart files with:
import 'package:flutter_is_emulator_fixed/flutter_is_emulator.dart';
copied to clipboard
Then you just have to request if the device is an emulator (Android) or a simulator (iOS) with:
bool isAnEmulator = await FlutterIsEmulator.isDeviceAnEmulatorOrASimulator;
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.