flutter_home_widget 0.1.1
flutter_home_widget: ^0.1.1 copied to clipboard
A Flutter plugin for iOS home-screen widgets with App Group data sync, widget reload, deep-link callbacks, and device-lock state.
0.1.1 #
- Widen Dart SDK constraint to
>=3.0.0 <4.0.0(was^3.11.5) so the package works on older Flutter releases. No API changes.
0.1.0 #
Initial release. iOS only.
setAppGroupIdto configure App Group for data sharing between app and widget extension.saveData/getDatafor String, int, double, bool stored in App GroupUserDefaults.reloadWidgetto triggerWidgetCenter.reloadTimelines, optionally targeting a specific widget kind.initialLaunchUriandwidgetTapsstream for handling widget deep links.- Built-in device-lock state: the plugin writes
flutter_home_widget.device_lockedto the App Group onapplicationProtectedDataWillBecomeUnavailableand clears it on resume, so widgets can render a locked-state fallback when shared data is unavailable. FlutterHomeWidgetReaderSwift helper for widget extensions to read App Group values without re-implementingUserDefaults(suiteName:)boilerplate.