wear_os_tiles 0.1.0 copy "wear_os_tiles: ^0.1.0" to clipboard
wear_os_tiles: ^0.1.0 copied to clipboard

PlatformAndroid

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 / registeredTileIds and a clicks stream for launch and load actions.
  • Generic WearComplicationService (complications data source 1.3.0) with SHORT_TEXT, LONG_TEXT and RANGED_VALUE; WearComplications.update and a taps stream.
  • Multiple tiles/complications through one-line manifest-declared subclasses.
  • Android build uses the Kotlin compilerOptions DSL instead of the deprecated android.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.
0
likes
160
points
23
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Wear OS Tiles and watch-face Complications for Flutter apps. Describe tile layouts in Dart; generic Kotlin services render them with ProtoLayout.

Repository (GitHub)
View/report issues

Topics

#wear-os #wearables #tiles #complications #smartwatch

License

MIT (license)

Dependencies

flutter

More

Packages that depend on wear_os_tiles

Packages that implement wear_os_tiles