quick_settings library

Classes

AddTileResult
Result when asking to add a tile
QuickSettings
Tile
Object representing a Quick Settings tile with all its possible fields

Enums

TileStatus
Status of a Tile

Typedefs

OnTileAdded = Tile? Function(Tile tile)
Tile added callback. It can be triggered either when a Tile is dragged from the list of possible tiles into the active list of tiles or as a result of QuickSettings.addTileToQuickSettings (Android 13).
OnTileClicked = Tile? Function(Tile tile)
Tile clicked callback. If you return a different Tile, it will be used to refresh the appearance of your tile.
OnTileRemoved = void Function()
Tile removed callback. It is called when the tile is removed from the active list of tiles. Note that it is too late to update the Tile.