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

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<SrcDestType> 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<SrcDestType> pathList, int iconSize = 300, bool isOverride = false}) Future<void>
override
getAppBatteryLevel() Future<int?>
override
getAppExternalPath() Future<String?>
Returns the external storage path of the app.
override
getAppRootPath() Future<String?>
Returns the root directory path of the app.
override
getDeviceId() Future<String?>
Retrieves the unique device ID.
override
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
getWifiAddressList() Future<List<String>>
Retrieves a list of available Wi-Fi IP addresses.
override
getWifiSSID() Future<String?>
inherited
init({bool isShowDebugLog = false}) Future<void>
inherited
isAppSystemThemeDarkMode() Future<bool>
override
isInternetConnected() 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
requestStoragePermission() Future<void>
Requests the storage permission.
inherited
showNotification({required String title, int? notificationId, String content = 'content'}) Future<void>
override
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