QuickSettings class

Constructors

QuickSettings()

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 Methods

addTileToQuickSettings({required String label, required String drawableName}) Future<AddTileResult?>
Asks to add this tile to QuickSettings of the user.
disableTile() Future<void>
Disable the service associated with your Tile. Your tile will be removed from the list of third party tiles and from the Quick Settings panel.
enableTile() Future<void>
Enable the service associated with your Tile. Your Tile will be present in the list of third party tiles and the user will be able to add it to its Quick Settings panel.
setup({OnTileClicked? onTileClicked, OnTileAdded? onTileAdded, OnTileRemoved? onTileRemoved}) → dynamic
Register top-level function to listen to Tile events. This should be done as soon as possible in your app. These callbacks will be called even when your app is closed.
syncTile(Tile tile) Future<void>
Pushes the provided Tile configuration to the native service.