Classes

This page contains a list of classes used by the widgets module.

Widget Configuration

Widget

The configuration of a widget, which is a set of different layouts.

WidgetLayout

The layout of a widget with all its UI elements.

TimelineProvider

A timeline providers allows a script to provide content to a widget for the future.

UI Elements

WidgetComponent

An abstract class that represents an UI element displayed in a widget.

Text

A widget UI element displaying plain text.

DynamicDate

A text displaying a date with the correct format.

SystemSymbol

An UI element displaying a system symbol (SF Symbol).

Image

An UI element displaying an image.

Spacer

An invisible UI element taking as much as horizontal space as it can.

Other

Color

A Color object represents a color to be displayed on screen.

SystemColors

System defined colors.

Font

A Font object represents a font (with name and size) to be used on labels, buttons, text views etc.

Padding

Padding with custom values or a predefined padding mode.