LauncherIconSwitcherPlatform class abstract

Inheritance
  • Object
  • PlatformInterface
  • LauncherIconSwitcherPlatform
Implementers

Constructors

LauncherIconSwitcherPlatform()
Constructs a LauncherIconSwitcherPlatform.

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

getCurrentIcon() Future<String>
Finds out which icon is currently set
initialize(List<String> icons, String defaultIcon) Future<void>
Initializes plugin with icons and defaultIcon. Should be called before any other method
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setIcon(String icon, {bool shouldKeepAlive = true}) Future<void>
Sets new icon. If changing icon requires closing the app and shouldKeepAlive is true, plugin will attempt to restart the app
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

instance LauncherIconSwitcherPlatform
The default instance of LauncherIconSwitcherPlatform to use.
getter/setter pair