wear_os_tiles 0.1.0
wear_os_tiles: ^0.1.0 copied to clipboard
Wear OS Tiles and watch-face Complications for Flutter apps. Describe tile layouts in Dart; generic Kotlin services render them with ProtoLayout.
0.1.0 #
- Initial release.
- Declarative Dart tile layout model (Column, Row, Box, Text, Spacer, Image, Arc with ArcLine/ArcSpacer/ArcText, CircularProgressIndicator, Chip, Button) with JSON round trip and validation.
- Generic
WearTileService(androidx.wear.tiles 1.6.2, protolayout 1.4.2) rendering the stored layout, with freshness interval and drawable resources. WearTiles.updateTile/getTile/clearTile/registeredTileIdsand aclicksstream for launch and load actions.- Generic
WearComplicationService(complications data source 1.3.0) with SHORT_TEXT, LONG_TEXT and RANGED_VALUE;WearComplications.updateand atapsstream. - Multiple tiles/complications through one-line manifest-declared subclasses.
- Android build uses the Kotlin
compilerOptionsDSL instead of the deprecatedandroid.kotlinOptions {}block. The Kotlin Gradle Plugin is still applied because the supported Flutter range starts at 3.35, whose Gradle tooling does not apply it to plugin modules.