glance_widget_android 0.2.1 copy "glance_widget_android: ^0.2.1" to clipboard
glance_widget_android: ^0.2.1 copied to clipboard

PlatformAndroid

Android implementation of the glance_widget plugin using Jetpack Glance.

glance_widget_android #

The Android implementation of glance_widget.

Usage #

This package is endorsed, which means you can simply use glance_widget normally. This package will be automatically included in your app when you do, so you do not need to add it to your pubspec.yaml.

However, if you import this package to use any of its APIs directly, you should add it to your pubspec.yaml as usual.

Requirements #

  • Android SDK 26+ (Android 8.0 Oreo)
  • Kotlin 2.0+
  • Jetpack Compose enabled

Implementation Details #

This package uses:

  • Jetpack Glance for widget rendering with Compose-based UI
  • DataStore Preferences for widget state management
  • Gson for JSON serialization
  • Kotlin Coroutines for asynchronous operations

Widget Templates #

Three widget templates are provided:

  • SimpleGlanceWidget - Title + Value + Subtitle display
  • ProgressGlanceWidget - Circular or linear progress indicators
  • ListGlanceWidget - Scrollable list with optional checkboxes
0
likes
150
points
73
downloads

Publisher

unverified uploader

Weekly Downloads

Android implementation of the glance_widget plugin using Jetpack Glance.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, glance_widget_platform_interface

More

Packages that depend on glance_widget_android

Packages that implement glance_widget_android