MobileIconSwitcher class

Constructors

MobileIconSwitcher()

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

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

platformVersion Future<String>
no setter

Static Methods

changeIcon(String iconName, String iconActivityAlias) Future<bool>
This function changes the app icon and returns a boolean indicating whether the operation was successful or not.
resetIcon() Future<bool>
The function resetIcon is a static method in Dart that invokes a platform-specific method called 'resetIcon'. This call will reset the App's Icon to the default value.
setDefaultComponent(String defaultComponent) Future<bool>
This function sets the default component for Android and returns a boolean indicating success.