flow_widget_ios 1.0.0 copy "flow_widget_ios: ^1.0.0" to clipboard
flow_widget_ios: ^1.0.0 copied to clipboard

iOS implementation of the flow_widget federated plugin.

flow_widget_ios #

iOS federated implementation for flow_widget.

Features #

  • App Group UserDefaults storage with typed wire codec
  • WidgetKit timeline reload via WidgetCenter
  • Image persistence in the shared app group container
  • Live Activities via ActivityKit (iOS 16.1+) with generic attributes
  • Dynamic Island support when available

Setup #

  1. Enable an App Group in your Runner target and widget extension.
  2. Pass the group id via FlowWidgetOptions(appGroupId: 'group.dev.flowwidget').
  3. Register widget kinds with FlowWidget.registerConfig(iosKind: ...).

Channel contract #

  • Method channel: dev.flow_widget/methods
  • Event channel: dev.flow_widget/events

Live Activities #

The plugin uses a generic FlowWidgetActivityAttributes type with a [String: String] content state. Complex values are JSON-encoded in the string map. For custom ActivityAttributes types generated by the CLI, store activity metadata in the shared container and render in your extension.

0
likes
0
points
45
downloads

Publisher

unverified uploader

Weekly Downloads

iOS implementation of the flow_widget federated plugin.

Repository (GitHub)
View/report issues

Topics

#widget #home-widget #ios

License

unknown (license)

Dependencies

flow_widget_platform_interface, flutter

More

Packages that depend on flow_widget_ios

Packages that implement flow_widget_ios