PackageManager class

Inheritance

Constructors

PackageManager()

Properties

channel → MethodChannel
no setterinherited
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

getActivityInfo(ComponentName componentName, {int flags = 0}) → Future<ActivityInfo?>
getApplicationIcon(String packageName) → Future<Uint8List?>
getInstalledApplications(int flags) → Future<List<ApplicationInfo>>
getInstalledPackages(int flags) → Future<List<PackageInfo>>
getPackageInfo(String packageName, int flags) → Future<PackageInfo?>
getText(String packageName, int resid, ApplicationInfo? appInfo) → Future<String?>
init() → dynamic
inherited
invokeMethod<T>(String method, [dynamic arguments]) → Future<T?>
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onMethodCall(MethodCall call) → Future
inherited
queryIntentActivities(Intent intent, int flags) → Future<List<ResolveInfo>>
registerMethodCallListener(String key, MethodCallListener listener) → void
inherited
toString() → String
A string representation of this object.
inherited
unregisterMethodCallListener(String name) → void
inherited

Operators

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