AndroidAppUtil class
Constructors
- AndroidAppUtil()
-
factory
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
-
checkOrientation(
) → Future< ScreenOrientationTypes?> -
getAppExternalPath(
) → Future< String> -
getBatteryLevel(
) → Future< int> -
getDeviceId(
) → Future< String> -
getDeviceInfo(
) → Future< Map< String, dynamic> > -
getExternalFilesDir(
) → Future< String> -
getFilesDir(
) → Future< String> -
getInstalledAppsList(
) → Future< List< Map< >String, dynamic> > -
getOrientation(
) → Future< ScreenOrientationTypes?> -
getPlatformVersion(
) → Future< String> -
getSdkInt(
) → Future< int> -
hideFullScreen(
) → Future< void> -
installApk(
{required String path}) → Future< void> -
isDarkModeEnabled(
) → Future< bool> -
isFullScreen(
) → Future< bool> -
isInternetConnected(
) → Future< bool> -
launch(
String source) → Future< void> - auto choose file and url
-
launchFile(
String source) → Future< void> -
launchUrl(
String url) → Future< void> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
openPdfWithIntent(
{required String path}) → Future< void> -
openUrl(
{required String url}) → Future< void> -
openVideoWithIntent(
{required String path}) → Future< void> -
requestOrientation(
{required ScreenOrientationTypes type, bool isReverse = false}) → Future< void> -
showFullScreen(
) → Future< void> -
showToast(
String message) → Future< void> -
toggleKeepScreenOn(
{required bool isKeep}) → Future< void> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- app → AndroidAppUtil
-
final