Package-level declarations

Types

Link copied to clipboard
data class WeatherData(val temperature: Int, val condition: String, val location: String) : WidgetData

Weather widget data model.

Link copied to clipboard

Example weather data provider. In a real app, this would fetch data from a weather API.

Functions

Link copied to clipboard

A clock widget that displays the current time. Demonstrates multi-size support and periodic updates.

Link copied to clipboard
fun CounterWidget(count: Int = 0)

A simple counter widget that displays a number. This demonstrates the most basic widget configuration.

Link copied to clipboard

A weather widget that displays current conditions. Demonstrates using a data provider for dynamic content.