MethodChannelInstalledAppsManager class
An implementation of InstalledAppsManagerPlatform that uses method channels.
- Inheritance
-
- Object
- PlatformInterface
- InstalledAppsManagerPlatform
- MethodChannelInstalledAppsManager
Constructors
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
-
extractApk(
String packageName, String appName) → Future< String?> -
override
-
getAppIcon(
String packageName) → Future< Uint8List?> -
override
-
getAppsWithIntent(
String action) → Future< List< AppInfo> > -
override
-
getInstalledApps(
{bool includeSystemApps = false}) → Future< List< AppInfo> > -
override
-
getInstalledAppsPaginated(
{bool includeSystemApps = false, int limit = 50, int offset = 0, String? searchQuery, AppSortBy sortBy = AppSortBy.appName, SortOrder sortOrder = SortOrder.ascending}) → Future< Page< AppInfo> > -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
openApp(
String packageName) → Future< void> -
override
-
openSettingsScreen(
String packageName) → Future< void> -
override
-
saveAppIcon(
String packageName, String appName) → Future< String?> -
override
-
toString(
) → String -
A string representation of this object.
inherited
-
uninstallApp(
String packageName) → Future< void> -
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited