Tile class

Object representing a Quick Settings tile with all its possible fields

Constructors

Tile({required String label, required TileStatus tileStatus, String? contentDescription, String? stateDescription, String? drawableName, String? subtitle})

Properties

contentDescription String?
Content description for the Tile
getter/setter pair
drawableName String?
Native Android drawable name.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
label String
Main text associated with the Tile
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stateDescription String?
State description for the Tile
getter/setter pair
subtitle String?
Subtitle for the tile, null below Android 10.
getter/setter pair
tileStatus TileStatus
Wether this tile is active, inactive or unavailable
getter/setter pair

Methods

encode() Object
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

decode(Object result) Tile