Skip to content

dave/flutter_is_emulator_fixed

 
 

Repository files navigation

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';

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

bool isAnEmulator = await FlutterIsEmulator.isDeviceAnEmulatorOrASimulator;

About

Detect if the device is an emulator (Android) or a simulator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • Java 36.4%
  • Dart 26.7%
  • Ruby 23.5%
  • Objective-C 13.4%