VooWatchComplicationData class
Data pushed to a complication (Apple Watch) or tile (Wear OS).
The native template decides how each field is rendered. shortText is the minimum every complication family will use; longText, headerText, and progress are honored where the family supports them.
- Annotations
Constructors
Properties
- deepLink → String?
-
Optional deep link to open in the watch app when the complication is tapped.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- headerText → String?
-
Optional header (e.g. "Steps").
final
- id → String
-
Stable identifier for which complication slot to update. Native templates
must register the same id so the bridge can route this update.
final
- longText → String?
-
Optional secondary text used by larger families.
final
- progress → double?
-
Optional 0..1 progress value rendered as a ring/bar where supported.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shortText → String
-
Primary text. Keep ≤ 6 characters for circular families on watchOS.
final
- tintColor → int?
-
Optional tint color encoded as 0xAARRGGBB.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited