Emulators class
Methods
-
currentDevice()
→ Option<Device>
-
Attempt to load the current device from the
EMULATORS_DEVICE
env variable.
-
drive(Device device, String target, {List<String> args = const [], Map<String, dynamic> config = const {}})
→ Future<Process>
-
Flutter drive helper
-
forEach(Iterable<String> nameOrIds, {Duration bootTimeout = const Duration(minutes: 3), Duration shutdownTimeout = const Duration(seconds: 15)})
→ Future<void> Function(Future<void> process(Device device))
-
-
list()
→ Future<IList<Device>>
-
List the available emulators
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
running({bool onlyEmulators = true})
→ Future<IList<Device>>
-
List the running emulators
-
screenshotHelper({Device? device, required String iosPath, required String androidPath, List<String> suffixes = const [], bool disable = false})
→ ScreenshotHelper
-
-
shutdownAll()
→ Future<void>
-
Attempt to shutdown all running emulators on the host.
-
test(Device device, String target, {List<String> args = const [], Map<String, dynamic> config = const {}})
→ Future<Process>
-
Flutter test helper
-
toString()
→ String
-
A string representation of this object.
inherited