MethodChannelAppsUtils class

An implementation of AppsUtilsPlatform that uses method channels.

Inheritance

Constructors

MethodChannelAppsUtils()

Properties

hashCode int
The hash code for this object.
no setterinherited
methodChannel MethodChannel
The method channel used to interact with the native platform.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getInstalledApps({String appType = 'all', bool includeIcons = false}) Future<List<Map<String, dynamic>>>
Get all installed apps.
override
getPlatformVersion() Future<String?>
override
launchApp(String packageName) Future<void>
Launch an app with a given package name.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
openAppSettings(String packageName) Future<void>
Open the settings for an app with a given package name.
override
openSystemApp(String appName) Future<void>
Open a specific system application.
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited