ThanPkgLinux class

Inheritance

Constructors

ThanPkgLinux()

Properties

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

Methods

checkScreenOrientation() Future<ScreenOrientationTypes?>
Checks the current screen orientation.
inherited
genPdfCover({required String outDirPath, required List<String> pdfPathList, int iconSize = 300}) Future<void>
Generates cover images for a list of PDF files.
override
genPdfThumbnail({required List<SrcDistType> pathList, int iconSize = 300, bool isOverride = false}) Future<void>
override
genVideoCover({required String outDirPath, required List<String> videoPathList, int iconSize = 300}) Future<void>
Generates cover images (thumbnails) for a list of video files.
override
genVideoThumbnail({required List<SrcDistType> pathList, int iconSize = 300, bool isOverride = false}) Future<void>
override
getAndroidDeviceInfo() Future<Map<String, dynamic>>
Retrieves information about the Android device.
inherited
getAppBatteryLevel() Future<int>
inherited
getAppExternalPath() Future<String?>
Returns the external storage path of the app.
override
getAppFilePath() Future<String?>
Returns the file path where the app can store files.
inherited
getAppRootPath() Future<String?>
Returns the root directory path of the app.
override
getDeviceId() Future<String?>
Retrieves the unique device ID.
inherited
getInstalledApps() Future<List<Map>>
inherited
getLocalIpAddress() Future<String?>
Retrieves the local IP address of the device.
inherited
getPackageInfo() Future<PackageInfo>
inherited
getPlatformVersion() Future<String?>
Retrieves the platform version of the device.
inherited
getWifiAddress() Future<String?>
inherited
getWifiAddressList() Future<List<String>>
Retrieves a list of available Wi-Fi IP addresses.
override
getWifiSSID() Future<String?>
inherited
init() Future<void>
inherited
isAppInternetConnected() Future<bool>
inherited
isAppSystemThemeDarkMode() Future<bool>
override
isStoragePermissionGranted() Future<bool>
Checks if the storage permission is granted.
override
launch(String source) Future<void>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
openUrl({required String url}) Future<void>
Opens a given URL in the default web browser or app.
inherited
requestScreenOrientation({required ScreenOrientationTypes type, bool reverse = false}) Future<void>
Requests the screen orientation to be set to the specified type.
inherited
requestStoragePermission() Future<void>
Requests the storage permission.
inherited
toggleFullScreen({required bool isFullScreen}) Future<void>
Toggles full-screen mode on or off.
override
toggleKeepScreen({required bool isKeep}) Future<void>
Toggles the keep screen awake mode.
override
toString() String
A string representation of this object.
inherited

Operators

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